FormulaCraft

How to hide #N/A and other formula errors in Excel and Google Sheets

Topic:IF, IFS & nested conditions
Excel & Google Sheets
=IFERROR(VLOOKUP(D2, A:B, 2, FALSE), "Not found")

Try it with your data

Edit the grid or formula, then run it through a real spreadsheet engine — no signup.

Sample data — click any cell to edit

Runs server-side · free · no signup

Step by step

  1. 1Wrap your existing formula in IFERROR( … , "value if error").
  2. 2The formula runs first; only if it errors does the fallback show.
  3. 3Use "" as the fallback to leave the cell blank instead of showing an error.

Tips

Working on a sheet you inherited? Run the Auditor on the whole file first — it flags every #REF!, #N/A, broken column pattern, and inconsistent formula in seconds, free, no signup.

Frequently asked

What is the difference between IFERROR and IFNA?

IFERROR catches every error type; IFNA catches only #N/A. IFNA is safer because it won’t hide a real #REF! or #VALUE! you need to know about.

More on IF, IFS & nested conditions

See all →

Formulas used

Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.

Last reviewed: