R
rtwiss via OfficeKB.com
What am I do wrong here?
=IF(NOT(ISNUMBER(J12),ISNUMBER(K12)),"boy","girl")
=IF(NOT(ISNUMBER(J12),ISNUMBER(K12)),"boy","girl")
=IF(NOT(ISNUMBER(J12),ISNUMBER(K12)),"boy","girl")
if J12 and K12 are not numbers then boy (True statement), girl (FalseRick said:Depends on what the formula is supposed to be doing. Can you tell us in
words what you expected the formula to do?
rtwiss said:if J12 and K12 are not numbers then boy (True statement), girl (False
statement)
Rick Rothstein said:Try this...
=IF(AND(NOT(ISNUMBER(J12)),NOT(ISNUMBER(K12))),"boy","girl")
Rick said:I don't think that does what the OP asked for. Both cells must contain
non-numbers for it to be "boy"... your formula returns "boy" if one is a
number and one is not a number... I'm pretty sure the OP want "girl"
returned for that condition.
You are probably right...
"if J12 and K12 are not numbers then boy (True statement), girl (False
statement)"
What if J12 is a number and K12 is not?