Excel Errors Explained: #N/A, #REF!, #DIV/0!, #VALUE! and How to Fix Them

Published 2026-12-05 by Sheettally

An Excel error is a message, not a failure. Each one points to a specific kind of problem. Learn to read them and you will fix most sheets in a minute.

#DIV/0!

Meaning: you divided by zero or by an empty cell.
Fix: check the denominator. If a blank is expected, guard the formula: =IF(B2=0, "", A2/B2).

#N/A

Meaning: a lookup could not find what you asked for.
Usual cause: the value is not in the list, has an extra space, or is text in one place and a number in the other.
Fix: test with =TRIM(A2), check the data types, and use the "if not found" argument of XLOOKUP for a friendly message.

#REF!

Meaning: the formula points to a cell that no longer exists.
Usual cause: you deleted a row, column or sheet that the formula used.
Fix: undo the delete if you can (Ctrl+Z). Otherwise, edit the formula and re-select the correct range.

#VALUE!

Meaning: the formula got the wrong type of input.
Usual cause: adding a number to text, or a date that Excel sees as text.
Fix: find the cell holding text. Numbers that sit on the left side of a cell are often text.

#NAME?

Meaning: Excel does not recognize a name in the formula.
Usual cause: a typo in a function name, or a function your version does not have, for example XLOOKUP in an old version of Excel.
Fix: check the spelling and your Excel version.

#SPILL!

Meaning: a formula tries to return several values but something is in the way.
Fix: clear the cells below or to the right of the formula so the results have room.

######

This one is not an error in the formula. The column is too narrow to show the number, or a date value is negative. Widen the column.

A word about IFERROR

=IFERROR(your formula, "") hides every error. That is handy in a finished report, but it also hides real mistakes. While you are building a sheet, leave errors visible. Add IFERROR only at the end, and only around formulas where you know why an error can appear.


← All guides · Browse templates