
Converts text that looks like a number into a real numeric value. Useful when imported numbers are stored as text.
The Excel VALUE function converts text that represents a number into an actual numeric value. It is useful when imported data looks numeric on screen but Excel still treats it as text.
VALUE can convert plain numbers, currency strings, percentages, fractions, and time text if Excel recognizes the format. If the text cannot be interpreted as a number, VALUE returns #VALUE!.
Turns values like "123" or "$1,250" into numbers that can be used in calculations.
Returns a number if the text can be interpreted correctly. Otherwise, the result is #VALUE!.
=VALUE(text)
Use text for the string or cell reference you want to convert. If spaces may be present around the value, a common pattern is =VALUE(TRIM(A1)).
VALUE is used when the problem is data type. The cell contains text, but you need a number. For the opposite direction, where you need to turn a number into formatted text, use TEXT instead.
| Function | Direction | Use When |
|---|---|---|
VALUE |
Text to number | Imported numeric values are stored as text |
TEXT |
Number to formatted text | You need to display a number using a custom format inside text |
ISNUMBER |
- | You want to check whether the result is truly numeric |
IFERROR |
- | You want a fallback result when conversion fails |
VALUE is most useful after importing data from CSV files, websites, ERP systems, or copied reports. These sources often produce numbers that look correct but are stored as text, which can break SUM, AVERAGE, lookups, and comparisons.
If the source column may contain mixed content, wrap VALUE in IFERROR. If stray spaces may be present, combine it with TRIM. Together, these patterns make batch conversion more reliable.
VALUE(TRIM(A1)) if the imported text may include extra spaces.IFERROR when some rows may contain non-numeric text.This is the simplest case. VALUE removes the text type and returns a real number that math functions can use normally.
=VALUE("45") // 45
=VALUE("3.14") // 3.14
=VALUE(A1) // Converts a text number stored in A1
In cell F1, use VALUE to convert the text "45" into the number 45.
VALUE can interpret common numeric formats such as a currency symbol and thousands separators. The result is still a number, not text, so it can be summed or compared normally.
=VALUE(B2)
// "$1,250" -> 1250
// "$45,000.00" -> 45000
In cell F2, use VALUE on B2 ("$1,250") to strip the symbol and commas and get the plain number 1250.
Fractions stored as text are not yet usable in calculation. VALUE converts them to their decimal equivalent, which makes them easier to use in arithmetic formulas.
=VALUE("1/2") // 0.5
=VALUE("3/4") // 0.75
=VALUE("5/2") // 2.5
In cell F3, use VALUE on A1 ("1/2") to get its decimal equivalent (0.5).
Combining VALUE with ISNUMBER is a simple way to verify that the output is really numeric. If the text cannot be converted, VALUE returns an error, so IFERROR is often useful in mixed datasets.
=ISNUMBER(VALUE("500")) // TRUE
=IFERROR(VALUE(A1), 0) // Safe fallback if conversion fails
In cell F4, use ISNUMBER(VALUE("500")) to confirm that "500" (as text) converts to a real number.
VALUE can also convert time text such as "12:00 PM" into Excel's underlying time serial. After conversion, format the result as time if you want it to display in time format again.
#VALUE! when the text is not recognized as numeric.VALUE converts numeric text into a real number.=VALUE(text).=IFERROR(VALUE(TRIM(A1)),0).#VALUE!.Tell your friends about this post