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. The difference between a quick fix and a sheet you can trust is the extra minute you spend validating “excel isna function”. Start on a copy or a tiny sample, keep the affected formula visible, and compare the result with the tool above before you touch the real workbook. 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. The point is a calculation you can defend to a CFO or an auditor, but the practical win is that someone else can open the file and understand what happened without asking you.
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. A practical tip before you scale it up: build it once on a small block of test data, confirm the number against the tool on this page, and only then point it at your real sheet. That one habit catches almost every mistake while it is still cheap to fix, long before a wrong figure reaches a report or a colleague.
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. If you take one thing from this page on “excel isna function”, make it the habit rather than the keystrokes: set the problem up with labelled inputs, reference those cells, and let Excel do the recomputing. Bookmark the page for the syntax, but do the example once in a blank sheet and check it against the tool above — five minutes of hands-on practice fixes the method in memory far better than re-reading, and it surfaces the small snags while they are still harmless. After that the technique is genuinely yours: faster than searching for it again, and reliable enough to drop into work that other people depend on.
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.