In Excel: #VALUE! means an argument is the wrong TYPE — nearly always text, or a character that looks like a space, where a number was expected.
On this page7
Select the failing cell and use Formulas ▸ Error Checking ▸ Trace Error to see which argument is at fault.
Test the suspects: =ISTEXT(B2) exposes a stored string, =LEN(B2) exposes trailing characters, =CODE(RIGHT(B2,1)) returns 160 for a non-breaking space.
Clean the range with TRIM and SUBSTITUTE(…,CHAR(160),""), or repair it in place with Data ▸ Text to Columns ▸ Finish.
Check the ranges of any array formula match in size — a 40-row range multiplied by a 39-row one raises the same error.
Only once the cause is fixed, wrap the formula in IFERROR to keep a report tidy.
What this does
Excel raises #VALUE! when arithmetic meets something it cannot coerce into a number. The usual sources are imported figures stored as text, dates that never parsed, an invisible non-breaking space (CHAR(160)) pasted from a web page, and array operations across ranges of mismatched size. It is a type complaint, not a lookup failure — that is #N/A — and the fix is to repair the input rather than to hide the message. Most people learn this as a sequence of clicks and forget it by next week; learning it as a pattern instead is what lets you apply it to the next, slightly different version of the problem without starting from scratch. That is the difference this page is trying to make. For “value errors in excel”, the reliable version is a short checking loop, not just the first command that appears to work. Run it on a deliberately small range first, watch how the affected cells change, and only then apply the same setup to the full sheet. When this is a ribbon command, the selection matters more than the button: confirm the range, apply the command, then spot-check the output before saving. That is what makes a calculation you can defend to a CFO or an auditor useful in real work: repeatable, auditable, and not dependent on memory or luck.
A worked example
C2 holds =A2-B2 and returns #VALUE! because B2 contains "1,250 " as text from a web paste. =ISTEXT(B2) confirms it and =LEN(B2) returns 6 where 5 was expected. =VALUE(SUBSTITUTE(SUBSTITUTE(B2,CHAR(160),""),",","")) returns 1250 as a real number, and Data ▸ Text to Columns ▸ Finish fixes the whole column in one pass. A #VALUE! that gets suppressed instead of diagnosed turns a visible error into an invisible one, and the number keeps being reported. If this is something you do often, add the command to the Quick Access Toolbar (right-click it on the ribbon and choose Add to Quick Access Toolbar) or learn its shortcut, so next time it is one click instead of a hunt through the menus.
In Google Sheets
This is a command rather than a formula, so there is no syntax to carry over. Google Sheets arranges its commands in menus across the top instead of a ribbon, names some of them differently and does not have every Excel command — look for the equivalent in the Sheets menus or its help before assuming the steps match. Keep this page bookmarked for the next time the same question comes up. Better still, repeat the steps once in your own workbook — doing it yourself is what turns a copied answer into something you remember. If you take one thing from this page on “value errors in excel”, make it the order of checks rather than the individual clicks: confirm what is selected, apply the step, and look at the result before moving on. That small routine is what keeps Excel work predictable when the same task comes back in a slightly different workbook.
Common mistakes
- Wrapping the formula in
IFERRORfirst, which hides a real data fault and lets the wrong total ship. - Replacing + with
SUMto make the error disappear:SUMsilently ignores text, so the result is quietly too low. - Expecting
TRIMto remove a non-breaking space — it only strips ordinary spaces, so CHAR(160) needsSUBSTITUTE. - Assuming a right-aligned cell must be numeric; alignment can be set by hand and proves nothing.
Frequently asked questions
What is the difference between #VALUE! and #N/A?
#VALUE! means an argument has the wrong type. #N/A means a lookup found nothing. They have completely different fixes.
How do I find which cell causes it?
Formulas ▸ Evaluate Formula steps through the calculation and shows the exact operand that fails, and Trace Error draws arrows to the suspects.
Why does SUM work when + fails?
SUM ignores text values in its range, while the + operator tries to coerce them and errors. That difference is why a total can look fine and still be wrong.
Can I just hide it?
Yes, =IFERROR(formula,"") does that, but only do it after the underlying data is fixed.