NUMBERVALUE Function

Converts text to a number using the decimal and thousands separators you specify.

Category

Text

Available in

Excel 2013+, Microsoft 365

Returns

A number

Want to practice NUMBERVALUE in a real spreadsheet? Open a blank sheet in our Practice Sandbox and try it with live data, with the AI Excel tutor beside you. No Excel needed — just a free account.Try it free in the Sandbox

Overview

Different countries write numbers differently: 1,234.50 in Canada and the US, 1.234,50 in much of Europe. NUMBERVALUE lets you say which separators the text uses.

It's the safe way to convert numbers exported from systems in other regions.

Syntax

=NUMBERVALUE(text, [decimal_separator], [group_separator])

Arguments

ArgumentRequired?What it does
textYesThe text to convert. Spaces are ignored; a trailing % divides by 100.
decimal_separatorOptionalThe character used as the decimal point. Defaults to your settings.
group_separatorOptionalThe character used between thousands. Defaults to your settings.

Examples

Example 1 — European amounts

A supplier in Germany sent prices as text with comma decimals.

B2fx=NUMBERVALUE(A2, ",", ".")
AB
1Supplier textNumber
22.500,272500.27
31.234,51234.5
412,5%0.125
=NUMBERVALUE(A2, ",", ".") Explain

Common mistakes

  • Same separator twice. If decimal_separator and group_separator are the same character, NUMBERVALUE returns #VALUE!.

Notes

Kyle Stott

Author

Kyle Stott

Certified Microsoft Excel Expert

Kyle has worked professionally with Microsoft Excel for over a decade and has consulted on and taught Excel best practices to over 400 companies across 30+ countries.