IFERROR vs IFNA: Which Errors to Catch
Your lookup column shows #N/A for names that aren't on the list, and you want "Not on list" instead — but you've heard wrapping everything in IFERROR can hide real problems. Which wrapper is safe?
Excel & Google Sheets
This formula works in both Excel and Google Sheets.
How it works
IFNA is the surgical option: it replaces only #N/A — the error lookups return when the value genuinely isn't there — and lets every other error through untouched. That matters because #NAME? means you misspelled the function, #REF! means a deleted column, and #DIV/0! means broken math; those are bugs to fix, not results to relabel. IFERROR replaces all of them with your fallback, so a typo like =IFERROR(VLOKUP(...),"Not on list") quietly reports every row as "Not on list" and nobody notices the formula is broken. The verified grid below shows the difference directly: both handle a missing name identically, but feed them a divide-by-zero and IFNA passes the #DIV/0! through while IFERROR papers over it. Use IFERROR only when you've deliberately decided any failure should show the fallback.
When to use it
Wrap IFNA around VLOOKUP, XLOOKUP, INDEX MATCH, and MATCH anywhere a missing value is normal — new customers, unmapped SKUs. Save IFERROR for the rare cell where every possible error genuinely means the same fallback.
Common mistakes
Did this formula help?
Engine-verified against the sample data aboveDownload the proof sheet (.xlsx)Last reviewed 2026-07-09