← All comparisons

VALUE vs NUMBERVALUE: parsing text to numbers, and locales

Both turn text that looks like a number into a real number so you can do math. VALUE uses your spreadsheet's locale settings to interpret separators; NUMBERVALUE lets you SPECIFY the decimal and grouping characters explicitly — which is the whole point when you're cleaning data that came from a different region.

The differences at a glance

VALUENUMBERVALUE
Separator interpretationFollows the app's locale settingsYou pass the decimal and group separators as arguments
"1.234,56" (European) on a US machineMisreads it (or errors)NUMBERVALUE(A2,",",".") returns 1234.56
Currency symbols, %, spacesHandles common ones per localeStrips grouping chars; % divides by 100
When to reach for itQuick cleanup of locally-formatted textCross-locale imports, fixed known formats
AvailabilityUniversalExcel 2013+, Google Sheets, LibreOffice (verified by execution)

Which should you use?

Compatibility (from executed tests)

Both execute correctly in every version of all three apps we test. NUMBERVALUE needs Excel 2013+ but has been in Google Sheets and LibreOffice throughout our tested range. The reverse trip — number to formatted text — is TEXT; and for cleaning stray currency symbols first, see the convert-currency-text-to-a-number recipe.

Example formulas

Text to number (local format)=VALUE(A2)
Parse a European-formatted string=NUMBERVALUE(A2,",",".")
Let arithmetic coerce it=A2*1

Full per-version details on each function page: VALUE · NUMBERVALUE.