#VALUE! error: what it means and how to fix it

A calculation received text where it needed a number. Something in a cell the formula uses looks like a value to you but is text to the spreadsheet.

The usual causes

How to fix it

  1. Find the text cell: numbers align right by default, text aligns left.
  2. Put only the number in the cell and the unit in the column heading.
  3. Use SUM for totals: =SUM(B2:B4) skips text, while =B2+B3+B4 stops with #VALUE!.
  4. Guard a row calculation: =IF(ISNUMBER(C2),B2*C2,0).

Fix a broken formula live

C2 contains the text "n/a" instead of a quantity. Cell D2 shows #VALUE!. Change the formula in the bar until the error goes away, or press “Show the fix”.

ABCDEF
1
2
3
4
5
6
7
8

#VALUE! A calculation received text where it needed a number. Something in a cell the formula uses looks like a value to you but is text to the spreadsheet.

How to fix #VALUE! →

Runs in your browser; nothing you type is sent anywhere. Works like Excel, Google Sheets and LibreOffice Calc for the common functions.

Learn the skill behind it

Add up a column with SUM, free →

Other spreadsheet errors