#VALUE! in Excel: what it means and how to fix it
#VALUE! means a formula is getting the wrong type of data, usually text where Excel expects a number.
Try the first exercises for freeIn the lesson Understanding error messages
What does #VALUE! mean?
#VALUE! means that a formula gets something it can't calculate with. Usually there's text where Excel expects a number, such as the word ill in a column of hours, or a number stored as text in the cell.
Excel can't carry out the calculation, so it shows the error instead of a wrong result. The error also passes on: a formula that refers to a cell with #VALUE! gets the same error.
When do you get #VALUE!?
- You add up cells with plus signs and one cell contains text: =B2+B3+B4 with ill in B3.
- You calculate with a number stored as text, with a unit added, such as 12 kg.
- You calculate with a date stored as text in the cell.
- SEARCH doesn't find the text you're looking for.
How to fix #VALUE!, step by step
This is how to fix the error:
- Click the cell with #VALUE! and look in the formula bar to see which cells the formula uses.
- Click the yellow exclamation mark next to the cell and choose Show Calculation Steps: Excel shows which part goes wrong.
- Check each cell: is there text, a space or a unit with a number? Numbers stored as text are on the left of the cell.
- Fix the cause: remove the text, convert numbers with VALUE, or use SUM instead of plus signs, because SUM skips text.
Examples
The error
D1 contains =B2+B3+B4. With plus signs you get #VALUE!, because ill isn't a number.
The fix with SUM
D1 contains =SUM(B2:B4). SUM skips the text and adds up the hours: 15.
A number with a unit
C1 contains =A2*2. 12 kg is text. Remove kg with SUBSTITUTE, or type only the number in the cell.
Where it often goes wrong
- =A1+B1 gives #VALUE! if B1 contains text, whereas =SUM(A1:B1) skips that text.
Practise this in the lesson Understanding error messages. The first exercises are free.
Frequently asked questions
How do I hide #VALUE!?
With IFERROR, but it's better to fix the cause first.