Common Errors Reference

Navigation

Part of Excel

Error Types

ErrorMeaningTypical CauseFix
#DIV/0!Division by zeroDenominator is 0 or blank=IFERROR(A1/B1,0) or check B1<>0 first
#N/AValue not availableLookup found no matchVerify lookup value exists; use IFNA(); check for trailing spaces
#NAME?Unrecognized name/textMisspelled function, missing quotes, missing named rangeCheck spelling; ensure text is quoted
#NULL!Invalid range intersectionWrong operator (space) between two ranges that don’t intersectUse , instead of space to union ranges
#NUM!Invalid numeric valueFormula produces a number too large/small, or invalid argument (e.g. negative sqrt)Check function arguments and result magnitude
#REF!Invalid cell referenceReferenced cells were deletedRebuild the reference; undo (Ctrl+Z) immediately if just happened
#VALUE!Wrong data typeText where a number is expectedCheck for text-formatted numbers; use VALUE()
#SPILL!Dynamic array blockedCells in the spill range aren’t emptyClear blocking cells
#CALC!Calculation engine errorEmpty array, unsupported operationSimplify/check the formula
##### Column too narrowColumn width insufficient for date/numberWiden the column

Debugging Tools

Trace Precedents / Dependents

Formulas → Trace Precedents (Ctrl+[) shows which cells feed into the active formula. Trace Dependents shows which cells depend on it.

Evaluate Formula

Formulas → Evaluate Formula — steps through a formula’s calculation piece by piece, useful for nested formulas.

Error Checking

Formulas → Error Checking — scans the sheet for common mistakes (inconsistent formulas, text-as-number, etc.)

Watch Window

Formulas → Watch Window — monitor specific cell values while working elsewhere in a large workbook.

Silent (Non-Error) Pitfalls

These don't throw errors but cause wrong results

  • Numbers stored as text — left-aligned, break math/SUM silently (fix: multiply by 1, or Text to Columns)
  • Trailing/leading spaces in lookup values — causes false #N/A (fix: wrap with TRIM())
  • Mixed date formats — regional settings (DD/MM vs MM/DD) misparse dates
  • Floating point rounding — 0.1+0.2 <> 0.3 exactly, due to binary floating point; use ROUND() when comparing
  • Merged cells — break sorting, filtering, and many formulas; avoid in data tables

Quick Diagnostic Checklist

  1. Is the error consistent across similar cells, or isolated?
  2. Click the cell → does the formula bar show what you expect?
  3. Use `Ctrl+ to toggle formula view and visually scan for typos
  4. Check referenced cells for correct data type (ISTEXT(), ISNUMBER())

See Also