Error values and clean data
What #DIV/0!, #N/A, #REF!, #VALUE! and #NAME? mean, and how to fix them.
An error value tells you what went wrong. #DIV/0! means dividing by zero or a blank cell. #N/A means a lookup found no match. #REF! means the formula points to a cell that no longer exists, often after deleting a row or column. #VALUE! means the wrong kind of data, like text where a number should be. #NAME? means a misspelled function name.
Example: C2 has =A2/B2 and B2 is blank.
- B2 is blank, so it counts as 0 — The divisor
- You cannot divide by 0 — No answer exists
- #DIV/0! — The error shown
Why it works: An error value is the sheet saying which rule broke: no dividing by zero, no missing matches, no deleted cells, no text in math and no unknown names. Knowing the rule points to the fix.
Tip: Wrap a formula in IFERROR(formula, value) to show something friendlier, but fix the cause first so real mistakes aren’t hidden.