In Excel: use =ISNA(value) — it returns TRUE only for #N/A, ignoring every other error type.
On this page8
Syntax
Arguments
| Argument | required / optional | Description |
|---|---|---|
value | required | The value or formula to test for #N/A specifically. |
Related functions
Only in A: 2 · Only in B: 1
Need it as an auditable file?
Ships inside the linked template — formula-driven, unlocked, audit-ready.
What this does
ISNA tests for the #N/A error and nothing else. That precision is the point: #N/A from a lookup means "not found", which is usually a legitimate outcome, while #REF! or #VALUE! in the same formula means the formula itself is broken. ISERROR treats all of them alike and so hides real bugs; ISNA lets you handle the expected case and leave the genuine faults visible. Its most useful application is comparing two lists — where a lookup returning #N/A is the answer you were looking for rather than a problem. The same idea underpins a lot of everyday Excel work, so the few minutes spent getting it right here pay back across every sheet you build afterwards. Treat it as a pattern, not a one-off, and it stops being something you look up and starts being something you reach for. For “isna excel formula”, the reliable version is a short checking loop, not just the first command that appears to work. Run it on a deliberately small range first, watch how the affected formula change, and only then apply the same setup to the full sheet. When a formula is involved, keep the inputs labelled beside it, reference cells instead of typing values, and apply number formatting only after the result checks out. That is what makes a calculation you can defend to a CFO or an auditor useful in real work: repeatable, auditable, and not dependent on memory or luck.
A worked example
Finding which customers in list A are missing from list B: =IF(ISNA(MATCH(A2, $D$2:$D$500, 0)), "Not in list B", "Present"). Counting them in one cell: =SUMPRODUCT(--ISNA(MATCH(A2:A200, D2:D500, 0))) returns how many are absent. ISNA separates "not found", which is an answer, from "broken", which is a bug — a distinction ISERROR destroys. If there is any chance you will reuse this, drop it into a small template tab right now: a labelled input area on the left and the formula beside it, checked once against the tool above. Next time the same question comes up, the answer is a single paste away instead of a rebuild from memory.
In Google Sheets
Google Sheets handles this almost identically to Excel. The formula syntax above is the same, and the menu lives under a slightly different label rather than a ribbon tab. Use the platform toggle at the top of the page to switch every keyboard shortcut between Windows and Mac, and expect at most cosmetic differences in naming. Keep this page bookmarked for the next time the same question comes up. Better still, rebuild the example once in your own sheet — doing it yourself, with the tool above to check against, is what turns a copied formula into a technique you own. The short version of “isna excel formula”: the answer is at the top of this page, the tool proves it on your own numbers, and the sections above explain why it holds so the next variation does not stump you. Excel rewards people who reference cells instead of typing values and who keep inputs separate from formulas, because that is what makes a result you can audit months later. Build it once, deliberately, with the live tool as a check, and you convert a one-off lookup into a reusable skill — which is the whole point of learning the why and not just the what.
Common mistakes
- Using
ISERRORwhereISNAwas meant, which suppresses#REF!and#VALUE!and hides genuine breakage. - Wrapping the whole formula rather than just the lookup, which also swallows errors from the surrounding arithmetic.
- Using
ISNAwhereIFNAwould be shorter —IFNAdoes the test and the substitution in one call.
Frequently asked questions
What is the difference between ISNA and ISERROR?
ISNA catches only #N/A. ISERROR catches every error type, including the ones that signal a real bug.
How do I find items in one list but not another?
=IF(ISNA(MATCH(A2, other_list, 0)), "Missing", "Present"), filled down.
Should I use ISNA or IFNA?
IFNA when you simply want a replacement value; ISNA when you need the TRUE/FALSE result for further logic.