How to Fix the #VALUE! Error in Excel
#VALUE! means a value that cannot be used in the calculation got mixed in. The most common case is a cell added with + or * that holds text like "TBD" or a space. SUM skips text, so using SUM instead of + makes the error go away.
Formula to use
=SUM(A2:C2)Instead of =A2+B2+C2. Text cells are skipped
Find which cell is text
A cell where ISTEXT returns TRUE is the cause. Even if it looks like a number, it may be a number stored as text if it sits on the left of the cell. Formulas > Evaluate Formula steps through the formula so you can see which part fails.
=ISTEXT(B2)TRUE means text=ISNUMBER(B2)FALSE means not a number
Spaces that look blank
A cell holding a single space looks empty but is text, and adding it gives #VALUE!. Remove spaces with Find and Replace, or strip spaces around a number with TRIM and convert it with VALUE.
=VALUE(TRIM(B2))Strip spaces, then convert to a number
Dates stored as text
A date aligned to the left is text, and subtracting it gives #VALUE!. Convert it with DATEVALUE, or select the column and use Data > Text to Columns to turn it back into dates.
=C2-DATEVALUE(B2)When B2 is text such as "2026-11-01"
Before hiding the error
Wrapping the formula in IFERROR hides #VALUE!, but it hides every other error too. Fix the value that causes it first, and wrap only when you really need to.
=IFERROR(A2*B2, "")Turns every error blank (use with care)
Try the functions used here
Change the arguments in the function playground and watch the calculation step by step.
- VALUE functionConverts text that looks like a number into a real number.
- TRIM functionRemoves leading and trailing spaces and leaves single spaces between words.
- SUM functionAdds all the numbers. Text and blank cells are skipped.
- ISTEXT functionChecks whether a value is text.
- ISNUMBER functionChecks whether a value is a number.
- DATEVALUE functionConverts a date written as text into a date serial number.
- IFERROR functionReturns a value you choose if a formula results in an error; otherwise returns the formula's result.
FAQ
- Even simple subtraction like =B1-A1 gives #VALUE!.
- Microsoft documentation says this happens when the list separator in the Windows region settings is set to the minus sign (-). Change the list separator in the Region settings of Control Panel to a comma or another character.
- After switching to SUM, the total is too small.
- SUM skips numbers stored as text, so those cells were left out. Convert them to real numbers and the total will be right.