Fix the #VALUE! Error
A calculation that should be simple — a subtraction, a multiplication — returns #VALUE!, and the cells involved look perfectly normal.
Excel & Google Sheets
This formula works in both Excel and Google Sheets.
How it works
#VALUE! appears when a formula receives the wrong kind of data — most often text where it expected a number or date. The text can be invisible: a number with a stray space ("42 "), a date typed as "July 8", or an empty-looking cell that actually contains a space. The quick diagnostic is ISNUMBER: point it at each input cell, and the one that says FALSE is your culprit. Then fix the source — convert text numbers with VALUE(), re-enter text dates as real dates, and clear cells that hold lone spaces.
When to use it
Reach for this diagnosis whenever arithmetic or date math errors out right after importing or pasting data — imports are the number-one source of text-formatted numbers.
Common mistakes
Got a file full of these?
Open it in your browser — every error cell gets highlighted with its fix. Nothing is uploaded.
Did this formula help?
Engine-verified against the sample data aboveLast reviewed 2026-07-08