Information function

ISNA function

Returns TRUE if a value is the #N/A error, usually meaning a lookup did not find what it was looking for.

Available in All versions of Excel, including Microsoft 365 and Excel for the web

In every Excel versionWorks in Google Sheets

Syntax

ISNA(value)
ArgumentWhat it means
valueRequiredThe value, cell or formula to test, typically a MATCH or VLOOKUP.

Returns: TRUE if value is #N/A; FALSE for any other value or error.

How ISNA works

ISNA checks for one specific error: #N/A, "value not available". Lookup functions return it when the item is not in the list, so ISNA is really a "was it found?" test. Combined with MATCH it answers membership questions such as "is this customer on the approved list?" without returning any data.

Because ISNA ignores every other error, it does not hide genuine mistakes such as a #REF! from a deleted column. To replace #N/A with a value in one step, IFNA is more convenient; use ISNA when you need the TRUE/FALSE itself, for example in conditional formatting or a count.

Examples

1Is the name on the shortlist?

C2fx=ISNA(MATCH("Lee", A2:A5, 0))
ABC
1Shortlist
2GarciaTRUE
3Novak
4Okafor
5Lind

Result: TRUE

MATCH cannot find Lee, returns #N/A, and ISNA returns TRUE — meaning not on the list.

2Invited or not

C3fx=IF(ISNA(MATCH("Okafor", A2:A5, 0)), "Not invited", "Invited")
ABC
1Shortlist
2Garcia
3NovakInvited
4Okafor
5Lind

Result: Invited

Okafor is found at position 3, so MATCH returns a number, ISNA is FALSE and IF shows Invited.

3Other errors are not #N/A

C2fx=ISNA(B2)
ABC
1CheckResult
2Margin %#DIV/0!FALSE

Result: FALSE

B2 contains an error, but it is #DIV/0!, not #N/A, so ISNA returns FALSE. ISERROR would return TRUE.

⬇Practice workbookExamples with live formulas + practice sheets · .xlsx · 15 KB

Tips

  • =NOT(ISNA(MATCH(x, list, 0))) is a classic "is x in the list?" test. In Microsoft 365, =COUNTIF(list, x)>0 is an equally readable alternative.
  • If an item you can see in the list still gives #N/A, look for trailing spaces or numbers stored as text.

Google Sheets

ISNA also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.

ISNA in other languages

In a non-English version of Excel the function has a local name. Excel translates formulas automatically when a file is opened in another language.

LanguageFunction name
CzechJE.NEDEF
DanishER.IKKE.TILGÆNGELIG
DutchISNB
FinnishONPUUTTUU
FrenchESTNA
GermanISTNV
HungarianNINCS
ItalianVAL.NON.DISP
Norwegian (Bokmål)ERIT
PolishCZY.BRAK
Portuguese (Brazil)É.NÃO.DISP
Portuguese (Portugal)É.NÃO.DISP
RussianЕНД
SpanishESNOD
SwedishÄRSAKNAD
TurkishEYOKSA