Ssumwise
CertificatesFor TeamsPricingBlog Get App
Free Interactive Reference Tool

Excel & Google Sheets Error Decoder

Click any error code (#N/A, #VALUE!, #REF!, #SPILL!, #DIV/0!) to see why it broke, the exact fixed formula, and a live practice drill.

#N/A

Lookup value not found in the search range

lookup

Why it happens

  • Extra leading/trailing spaces in text keys (e.g. "SKU-102 " vs "SKU-102").
  • Number stored as text in one table and as a true number in the other.
  • The lookup value genuinely does not exist in the lookup column.
Broken formula
=VLOOKUP(D2, A2:B50, 2, FALSE)
Fixed formula
=XLOOKUP(TRIM(D2), A2:A50, B2:B50, "Not Found")
Fastest Fix

Wrap lookup keys with TRIM() or check text-vs-number types, and handle valid misses cleanly with XLOOKUP’s 4th argument or IFNA().

Want to test your formula accuracy before an interview?

Take our free 5-minute interactive Excel skills checkup.

Free 1-Page Excel, Google Sheets & SQL Interview Cheat Sheet

The 25 formulas, keyboard shortcuts, and SQL patterns tested most in analyst interviews — emailed instantly, zero spam.

Fix formula bugs faster — practice 40+ Excel functions live · No signup required
Ssumwise

Get data-smart in 5 minutes a day. Hands-on Excel, Google Sheets, and SQL practice with instant feedback.

Learn

  • Excel Courses
  • Google Sheets
  • SQL Track
  • Data Analyst Path
  • Certificates

Resources

  • Function Library
  • Shortcut Drills
  • SQL Sandbox
  • Free Skills Test
  • Interview Prep
  • Blog

Company

  • About Sumwise
  • Download Mobile App
  • Pricing
  • For Teams
  • For Education
  • Help Centre
  • Contact

Legal

  • Terms of Service
  • Privacy Policy
  • Cookie Policy
  • Refund Policy
  • Accessibility

© 2026 Sumwise Ltd. Microsoft Excel is a trademark of Microsoft Corporation and Google Sheets is a trademark of Google LLC. Sumwise is not affiliated with or endorsed by either.

WCAG 2.2 AA · USD Pricing