NUMBERVALUE Returns #NAME? in Google Sheets
Google Sheets has no NUMBERVALUE function, so a pasted Excel formula returns #NAME?. Use VALUE and SUBSTITUTE to convert European-format amounts.
本文目錄
=NUMBERVALUE(A2,",",".") returns #NAME? in Google Sheets, with the message Unknown function: 'NUMBERVALUE'. The name is not misspelled, and this is not a formula parse error. NUMBERVALUE is an Excel function, and it does not exist in Sheets.
The replacement below converts a European-format amount such as 1.234,50 on a United States locale spreadsheet. First enter this fictional supplier invoice in A1:B9. Set the locale to United States (en_US), format A2:A9 as Plain text before typing the amounts, and leave A8 genuinely empty.
| Amount | Description |
|---|---|
| 1.234,50 | Espresso machine parts |
| 1,234.50 | Coffee bean shipment |
| €245,80 | Ceramic cups |
| 12,5% | Supplier discount |
| 3 000 | Equipment deposit |
| 2 450,75 | Refrigeration unit |
| Delivery charge | |
| n/a | Customs adjustment |
In C2:
=VALUE(SUBSTITUTE(SUBSTITUTE(A2,".",""),",","."))
The result is the number 1234.5. With the number format #,##0.00, the cell displays 1,234.50. The formula strips periods used as thousands separators, then turns the decimal comma into a period so VALUE can parse the text in a United States locale.
Do not fill that formula down column C yet. A3 already uses US separators, and the same replacements would change its meaning.
NUMBERVALUE is not a Google Sheets function
The function is absent from the official Google Sheets function list, checked on 28 November 2026.
Every NUMBERVALUE formula I entered returned the same #NAME? and the same message, including =NUMBERVALUE(A2), =NUMBERVALUE(A2,".",","), the same call with extra spaces around the arguments, =NUMBERVALUE(""), and the Microsoft-documented example =NUMBERVALUE("2.500,27",",","."). Changing the separator arguments does not create a missing function.
Other causes of #NAME?, such as a typo or a missing named range, are covered in the #NAME? error guide.
When VALUE alone is enough
VALUE follows the spreadsheet locale. A United States spreadsheet uses a decimal period; a German spreadsheet uses a decimal comma. Check the locale under File > Settings before you start replacing punctuation.
A3 already matches the United States locale, so =VALUE(A3) returns 1234.5. =VALUE(A2) does not: it returns #VALUE! with VALUE parameter '1.234,50' cannot be parsed to number.
The punctuation is not self-explanatory. In this United States spreadsheet, =VALUE("1,234") returned 1234 與 =VALUE("1.234") returned 1.234. If the source file used a decimal comma, that first reading is off by a factor of one thousand. Keep a country or format field from the export when you have one, and convert US-format rows separately from European-format rows.
Currency, percentages, and spaces
The remaining invoice rows need a little more cleanup. Keep column C on Automatic or Number, except for the percent result noted below.
A4 holds €245,80. Strip the known symbol, then normalize the separators:
=VALUE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A4,"€",""),".",""),",","."))
The result is 245.8. That removes the symbol; it does not convert euros into another currency.
A5 holds 12,5%. One reliable approach is to strip the percent sign, fix the comma, and divide by 100:
=VALUE(SUBSTITUTE(SUBSTITUTE(A5,"%",""),",","."))/100
The result is 0.125. The format 0.0% displays 12.5%. The format 0% displayed 13%, because it rounds to a whole percent, so use a format that keeps the decimal. Do not multiply 0.125 by 100 before applying a Percent format.
If you only fix the comma and leave the % in place, =VALUE("12.5%") already returns 0.125. Do not also divide by 100 in that case.
A6 holds 3 000, with an ordinary space (Unicode 32) between the digits:
=VALUE(SUBSTITUTE(A6," ",""))
The result is 3000. =VALUE(A6) without the substitution returned #VALUE! with VALUE parameter '3 000' cannot be parsed to number.
Non-breaking spaces in imported amounts
A7 looks like 2 450,75, but the gap is a non-breaking space, Unicode character 160. These turn up in exported invoices and copied web tables. They look like ordinary spaces, and replacing " " does not remove them.
=VALUE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A7,UNICHAR(160),"")," ",""),",","."))
The result is 2450.75. After substituting only ordinary spaces, VALUE still returned #VALUE! with VALUE parameter '2 450.75' cannot be parsed to number. The remaining gap in that message is the non-breaking space.
Fill-down for a consistent European column
If the supplier always exports European-format amounts, I would leave column A alone and convert beside it:
=IF(A2="","",VALUE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A2,UNICHAR(160),"")," ",""),".",""),",",".")))
The opening IF keeps a missing amount empty. Without it, =VALUE(A8) on the genuine blank in A8 returned 0. After the IF, the cell is an empty string (LEN 0, ISNUMBER FALSE).
Filled down D2:D9 on this sample, the formula returned:
| Cell | Original text | Result |
|---|---|---|
| D2 | 1.234,50 | 1234.5 |
| D3 | 1,234.50 | 1.2345 (incorrect) |
| D4 | €245,80 | 245.8 |
| D5 | 12,5% | 0.125 |
| D6 | 3 000 | 3000 |
| D7 | 2 450,75 | 2450.75 |
| D8 | (blank) | empty string |
| D9 | n/a | #VALUE! |
The euro and percent rows succeeded because, once the decimal comma becomes a period, VALUE already accepts those symbols: =VALUE("€245.80") returned 245.8, and =VALUE("12.5%") returned 0.125. I would still strip a symbol I know about, so the formula shows what was removed, but a leftover € 或 % is not what broke this fill-down.
The problem is D3. The same replacements turn US-format 1,234.50 into 1.2345, a valid number that is one thousandth of the invoice amount. =ISNUMBER(D3) is TRUE, so a type check will not catch it. I would not run this fill-down on a mixed-format column. Split the rows by source format first.
A9 holds n/a. The fill-down formula returns #VALUE! with VALUE parameter 'n/a' cannot be parsed to number. If you want a label instead:
=IF(A9="","",IFERROR(VALUE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A9,UNICHAR(160),"")," ",""),".",""),",",".")),"Check amount"))
That returns Check amount. I would not use 0 as the IFERROR fallback on invoice data. A missing amount and a real zero charge are different, and the fallback also cannot flag the quiet error in D3. Other conversion failures are covered in the #VALUE! error guide.
TO_PURE_NUMBER and N are not replacements
Sheets includes TO_PURE_NUMBER, but it has no arguments for foreign separators. =TO_PURE_NUMBER(A2) returned the text 1.234,50, and =TO_PURE_NUMBER("1,234.50") returned the text 1,234.50. It converted C2 to 1234.5 only because that cell already stored a number.
=N("123") returned 0, not 123. =N(123) returned 123, and =VALUE("123") returned 123. N does not parse numeric text the way VALUE does.
What Microsoft documents for Excel
I did not run Excel for this article. Microsoft’s NUMBERVALUE documentation describes a function for Excel 2013 and later that takes the source decimal separator and group separator as arguments. The documented example =NUMBERVALUE("2.500,27",",",".") is shown as returning 2500.27. In Google Sheets, that same formula returned #NAME?.
Microsoft also documents that NUMBERVALUE returns 0 for an empty string and ignores spaces in its text argument. A Sheets formula built from VALUE and SUBSTITUTE does not do those things on its own, which is why the space cleanup and the blank guard are explicit.
For Excel’s Convert to Number option, VALUE, and NUMBERVALUE on an Excel workbook, see numbers stored as text in Excel.
Confirm the converted amounts
=ISNUMBER(C2) returns TRUE, which only confirms that C2 is a number, not that the separators were read correctly. =ISNUMBER(D3) is also TRUE.
Before using the converted column in a total, compare several amounts with the original invoice, including at least one value with thousands separators and decimals such as 1.234,50. Keep the original text column until that check is done. A conversion that clears #NAME? and quietly turns 1234.50 into 1.2345 is worse than leaving the error visible.