Spreadsheet error

How to fix the #VALUE! error

TL;DR

#VALUE! means a formula got text when it expected a number, or the wrong data type somewhere. Fix: find the cell with the text and convert it, or use VALUE()/NUMBERVALUE().

What it means

The #VALUE! error means Excel or Google Sheets cannot make sense of an argument passed to the formula — usually because text was supplied where a number or date was expected. Less commonly, it appears when array formulas receive mismatched array sizes.

Common causes

How to fix it

1.Convert text to number

  1. Use =VALUE(A2) to coerce text into a real number.
  2. Or =NUMBERVALUE(A2) if the text uses a different decimal separator.
  3. For dates: =DATEVALUE(A2).

2.Find the culprit cell

  1. Select the range used by the formula.
  2. Use Home > Find & Select > Go To Special > Errors to locate the problem cells.
  3. Or apply IFERROR on individual arguments to narrow it down.

3.Fix at the source

  1. Select the suspect column.
  2. Data > Text to Columns > Finish — converts text-numbers to real numbers.
  3. Or multiply by 1: =A2*1 to coerce.

Example

Broken=A2+B2Fixed=VALUE(A2)+VALUE(B2)

A2 was stored as text (e.g., "10" with apostrophe). VALUE() coerces it to a real number so addition works.

Prevention

Related errors

#NAME?#NUM!#REF!

Let FormulaPad debug it for you

Paste your broken formula and the error message — get a diff and an explanation in seconds.

Debug a formula