← All error guides

How to fix #N/A in Excel and Google Sheets

What you see

  • Cell displays #N/A
  • Often appears after VLOOKUP or XLOOKUP

Common causes

  • The lookup value is not in the other table
  • Extra spaces or different spelling in the two lists

How to fix it

  1. Confirm the value exists in the lookup column
  2. Trim spaces with TRIM if text looks the same
  3. Use IFERROR to show a friendly message instead of #N/A

Example formula

=IFERROR(VLOOKUP(A2,Sheet2!A:B,2,FALSE),"Not found")
Fix this in FixMyFormula →

Related errors