FormulaCraft

VALUE vs NUMBERVALUE: converting text to numbers in Excel and Sheets

Excel & Google Sheets
=VALUE(A2)

Try it with your data

Edit the grid or formula, then run it through a real spreadsheet engine — no signup.

Sample data — click any cell to edit

Runs server-side · free · no signup

Step by step

  1. 1Put a text number in A2, for example the string "1250.75" (period as decimal separator).
  2. 2In B2 enter =VALUE(A2). If your locale uses a period as the decimal separator, this returns 1250.75 as a number.
  3. 3If the source data uses a different convention — for example European format "1.250,75" (period as thousands, comma as decimal) — use NUMBERVALUE instead: =NUMBERVALUE(A2,",",".").
  4. 4The second argument of NUMBERVALUE is the decimal separator; the third is the group (thousands) separator.
  5. 5After conversion, verify with ISNUMBER(B2) that the cell is truly numeric before using it in calculations.

Tips

Working on a sheet you inherited? Run the Auditor on the whole file first — it flags every #REF!, #N/A, broken column pattern, and inconsistent formula in seconds, free, no signup.

Frequently asked

When should I prefer NUMBERVALUE over VALUE?

Whenever your spreadsheet is shared across locales or imports data from an international source with non-standard separators. Hardcoding the separators in NUMBERVALUE makes the formula locale-independent.

Does Google Sheets support NUMBERVALUE?

Yes. NUMBERVALUE behaves identically in Google Sheets, making it a reliable cross-platform choice for locale-safe number parsing.

What happens if the text contains currency symbols like $ or €?

Both VALUE and NUMBERVALUE will return #VALUE! if the string contains non-numeric characters like currency symbols. Use SUBSTITUTE to remove them first: =VALUE(SUBSTITUTE(A2,"$","")).

Formulas used

Related tasks

Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.

Last reviewed: