Formula Fixer

How to Fix #N/A Errors in VLOOKUP and XLOOKUP

Updated 2026-12-04

TL;DR: #N/A means a lookup couldn't find the value. The usual causes are extra spaces, numbers stored as text or the wrong range. Fix the data first, then wrap the formula in IFNA or IFERROR to show a friendly message.

#N/A means the lookup value was not found. Check these causes in order.

=IFNA(VLOOKUP(E2, $A$2:$C$100, 3, FALSE), "Not found")

The same fixes apply to INDEX MATCH lookups.

Seeing #VALUE! rather than #N/A? Read how to fix #VALUE! in Excel and Google Sheets.

Lookup returning #SPILL!? Read how to fix #SPILL! in Excel and Google Sheets.

A text '1001' never matches the number 1001: how to convert numbers stored as text.

Prefer a ready-made file?

Templates we sell: see all downloads and prices.

← More guides