D DashboardNovice Member Apr 20, 2025 #1 I expected the two yellow cells to evaluate to TRUE because I am testing K10:K16 for #N/A and the last two values are #N/A. Why are the last two cells resulting in #N/A instead of TRUE? Attachments Chandoo.org - Testing for #NA results in #NA.xlsx 10.7 KB · Views: 4
I expected the two yellow cells to evaluate to TRUE because I am testing K10:K16 for #N/A and the last two values are #N/A. Why are the last two cells resulting in #N/A instead of TRUE?
AliGW Well-Known Member Apr 20, 2025 #2 Because you are testing for text, not an error. Try this: =ISNA($K$10:$K$16) The hashtag followed by N/A will be seen by Excel as an error message, not regular text. Same with #VALUE!, for which you could use =ISERROR($K$10:$K$16)
Because you are testing for text, not an error. Try this: =ISNA($K$10:$K$16) The hashtag followed by N/A will be seen by Excel as an error message, not regular text. Same with #VALUE!, for which you could use =ISERROR($K$10:$K$16)
D DashboardNovice Member Apr 21, 2025 #3 AliGW said: The hashtag followed by N/A will be seen by Excel as an error message, not regular text. Click to expand... That explains it. I always had trouble with #N/A errors when I would check for them. I don't know why I didn't think about using ISNA( ). This is very helpful. Thank you.
AliGW said: The hashtag followed by N/A will be seen by Excel as an error message, not regular text. Click to expand... That explains it. I always had trouble with #N/A errors when I would check for them. I don't know why I didn't think about using ISNA( ). This is very helpful. Thank you.
AliGW Well-Known Member Apr 21, 2025 #4 You also have IFNA, so you an provide a fallback: =IFNA($K$10:$K$16,"")
D DashboardNovice Member Apr 23, 2025 #5 AliGW said: You also have IFNA, so you an provide a fallback: =IFNA($K$10:$K$16,"") Click to expand... Thank you for reminding me about that one. Sometimes it's easy to forget obvious things.
AliGW said: You also have IFNA, so you an provide a fallback: =IFNA($K$10:$K$16,"") Click to expand... Thank you for reminding me about that one. Sometimes it's easy to forget obvious things.