L
lhkittle
Hi Experts,
I just offered this as a solution to a post in public.excel.
Now I notice that while the "value if true" part works the "value if false" does not, per below, using Enter and/or Array-Enter.
In a Help search it said the "value if false" was optional, but if you include it should it not work?
Where A1=X and B1= 1 and C1= 2.
If A1=Z then I get #VALUE instead of xx.
Enter
=SUM(IF(A1="X",B1+C1,"xx")) A1=X Correct
C+S+E
=SUM(IF(A1="X",B1+C1,"xx")) A1=X Correct
=SUM(IF(A1="X",B1+C1,"xx")) A1=Z #VALUE
Enter
=SUM(IF(A1="X",B1+C1,"xx")) A1=Z #VALUE
Thanks.
Regards,
Howard
I just offered this as a solution to a post in public.excel.
Now I notice that while the "value if true" part works the "value if false" does not, per below, using Enter and/or Array-Enter.
In a Help search it said the "value if false" was optional, but if you include it should it not work?
Where A1=X and B1= 1 and C1= 2.
If A1=Z then I get #VALUE instead of xx.
Enter
=SUM(IF(A1="X",B1+C1,"xx")) A1=X Correct
C+S+E
=SUM(IF(A1="X",B1+C1,"xx")) A1=X Correct
=SUM(IF(A1="X",B1+C1,"xx")) A1=Z #VALUE
Enter
=SUM(IF(A1="X",B1+C1,"xx")) A1=Z #VALUE
Thanks.
Regards,
Howard