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
Write the lookup or MATCH that may legitimately fail to find something.
Wrap it: =ISNA(your_lookup) returns TRUE when the value is not found.
Put that inside an IF to produce a readable label instead of TRUE and FALSE.
Leave other error types unhandled so real formula faults still surface.
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 outcome you expected 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. Check the referenced cells, argument order and result type in your workbook. Start with the worked example before changing an input, then compare the changed result with the calculation you expected. An error value or a result of a different type is a reason to inspect the inputs and arguments.
In Google Sheets
Google Sheets support for this task has not been verified. Check the function, arguments and workflow in the target product before transferring the example. Matching formula notation does not establish identical behaviour. Keep this page bookmarked for the next time the same question comes up. Better still, repeat the steps once in your own workbook — doing it yourself is what turns a copied answer into something you remember. For “excel isna function”, keep the input cells and the result visible while you check the formula in Excel. Follow the worked example and change one input at a time. The steps explain the workbook calculation; this page does not run a live calculator for that task.
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.