Excel Function of the week - ISNA

jethro's picture

The ISNA function is an Information Function. It is is used to return information about the status of a cell, or specifically another functions results. The most common use I have for this function is to validate the VLOOKUP function. If the VLOOKUP function is looking for a value that can not be found in the lookup range, then it will return #N/A as the result. Thus it is good to wrap that function in an IF Statement using the ISNA function to replace the #N/A results with something else – e.g. a text string such as “error” or maybe a zero.

=IF(ISNA(VLOOKUP(A1,$B:$B,1,FALSE))=TRUE,"error",VLOOKUP(A1,$B:$B,1,FALSE))

clip_image001

Remember the ISNA function returns a TRUE or FALSE. These equate to a 1 or 0 so can be used in formulas such as array formulas as well.

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Wow, you do learn something

Wow, you do learn something new everyday. ISNA is new to me so thanks for pointing it out. I can already see where it can be used in a few of my spreadsheets, thanks so much for this!roulette onlinepoker sitesblackjack onlinevideo poker onlinebootleg movies

Ha ha pretty cool function

Ha ha pretty cool function man, thanks for sharing will try this.

Thanks for sharing this,

Thanks for sharing this, sometime I forget the excel basics, thanks for the reminder...PariuriRezultate FotbalCote Pariuri Online

Post new comment

Mollom CAPTCHA (play audio CAPTCHA)
Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated.