Common Excel Formula Errors and How to Fix Them

July 09, 2026

Common Excel Formula Errors and How to Fix Them

Every Excel user encounters formula errors. The good news is that each error code tells you exactly what went wrong. Once you know what each error means, fixing it is straightforward.

VALUE! — Wrong Data Type

Appears when a formula receives the wrong kind of data — for example, trying to add a cell that contains text instead of a number. Check your source cells: select them and look at the formula bar. Text that looks like numbers may actually be stored as text. Use the VALUE() function to convert text to numbers, or re-enter the data as actual numbers.

REF! — Invalid Cell Reference

Appears when a formula references a cell that no longer exists — typically because a row or column it depended on was deleted. Click the cell with the error and look at the formula bar. Find the REF! portion and update the reference to a valid cell.

DIV/0! — Division by Zero

Appears when a formula divides by zero or by an empty cell. Wrap your formula in an IFERROR function: =IFERROR(A1/B1, 0) returns 0 instead of the error when B1 is zero or empty. Or use =IF(B1=0, 0, A1/B1) to handle the zero case explicitly.

NAME? — Unrecognized Text

Appears when Excel does not recognize a name in the formula — usually because of a typo in a function name (=SUMM instead of =SUM) or a named range that does not exist. Double-check the spelling of all function names and range names in the formula.

N/A — Value Not Available

Most commonly appears with lookup functions like VLOOKUP when the search value cannot be found in the data. Verify that the lookup value exists in the table and that the data types match (text vs. number). Wrap with IFERROR to show a friendlier message when no match is found.

NUM! — Invalid Number

Appears when a formula produces a number that is too large, too small, or mathematically impossible (like the square root of a negative number). Review the inputs to the formula and check for out-of-range values.

The Green Triangle

A green triangle in a cell corner is not an error — it is a warning. Click the cell and look for the yellow warning icon. Click it to see what Excel is flagging, such as a number stored as text or a formula inconsistent with neighboring cells. You can dismiss it if the cell is correct as-is.

Back to Blog