• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Testing for #N/A results in #N/A instead of TRUE

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
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)
 
Back
Top