Example 1
Convert a text amount to a number
C2 =VALUE(A2)
Result: 1250.5
A2 holds the text "1,250.50". VALUE reads it with US separators and returns the number 1250.5.
C2 =VALUE(A2) returns 1250.5
Converts text that looks like a number, date or time into a real number.
Syntax
=VALUE()
All versions of Excel.
Try it
Edit the formula in C2 or change the inputs. The sheet recalculates as you type.
C2 =VALUE(A2) returns 1250.5
VALUE converts text that looks like a number into a real number. Data imported from other systems, pasted from the web or cut out of longer text often arrives as text: it is left-aligned, shows a green triangle, and won't add up in a SUM. VALUE fixes that.
VALUE converts anything Excel would accept if you typed it into a cell:
"1250" becomes 1250."1,250.50" becomes 1250.5 in a US setting."$1,250.50" becomes 1250.5."12%" becomes 0.12."2025-03-15" becomes 45731, the date serial number."6:00 PM" becomes 0.75.If Excel can't read the text as a number, VALUE returns #VALUE!. =VALUE("abc") and =VALUE("12 kg") both fail. An empty string also fails.
VALUE reads text using the language and regional settings of the computer. "1,250.50" is 1250.5 where the comma separates thousands, but in many European settings a comma is the decimal mark, so the same text is read differently or rejected. Dates are even more sensitive: "03/04/2025" can mean 3 April or 4 March. The ISO form 2025-03-15 is the safest. When separators vary, use NUMBERVALUE, where you state them.
Excel often converts text numbers for you in arithmetic: ="1250"+1 returns 1251. Several shortcuts do the same as VALUE in a formula:
=--A2 (a double negative)=A2*1=A2+0They are quick, but VALUE makes the intent obvious to the next reader. Outside a formula, Text to Columns, and the green-triangle option Convert to Number, convert a whole column in place.
SUM, AVERAGE and similar functions skip text in a range, even if it looks like a number. A column of text numbers gives a total of 0. To total it without converting first, use =SUMPRODUCT(--A2:A9), or convert with VALUE in a helper column.
LEFT, MID, RIGHT, SUBSTITUTE and TEXTBEFORE all return text. When you cut a number out of a longer text, wrap the result: =VALUE(MID(A2,4,2)). When a currency symbol or unit is in the way, remove it first: =VALUE(SUBSTITUTE(A2,"kg","")).
If a cell already holds a real number, VALUE returns it unchanged. If you give it an empty cell, it returns 0. VALUE doesn't change what is displayed; use TEXT for the opposite job of turning numbers into formatted text.
"1,250.50", "12%" or "2025-03-15".Each example is a live sheet. Change the inputs or the formula and watch the result.
Example 1
C2 =VALUE(A2)
Result: 1250.5
A2 holds the text "1,250.50". VALUE reads it with US separators and returns the number 1250.5.
C2 =VALUE(A2) returns 1250.5
Example 2
D2 =VALUE(B2)
Result: 0.12
The percent sign divides by 100. VALUE("$1,250.50") works the same way in a US setting and returns 1250.5.
D2 =VALUE(B2) returns 0.12
Example 3
C2 =VALUE(LEFT(A2,4))+1
Result: 2026
LEFT returns the text "2025". VALUE turns it into the number 2025, and the +1 gives 2026.
C2 =VALUE(LEFT(A2,4))+1 returns 2026
Example 4
C2 =VALUE(A2)
Result: 15-Mar-2025
The result is the serial number for 15 March 2025. Format the cell as a date to see it as one.
C2 =VALUE(A2) returns 15-Mar-2025
Example 5
C2 =VALUE(A2)
Result: #VALUE!
The unit makes the text unreadable as a number. Remove it first: =VALUE(SUBSTITUTE(A2," kg","")).
C2 =VALUE(A2) returns #VALUE!
Solve it in the sheet. Every answer is checked, with hints if you need them.
Task 1 of 2
In C2, convert the text quantity in B2 to a real number. Fill it down to C5.
Answer in C2, then it fills down to C5.
#VALUE! means Excel can't read the text as a number. Look for units, stray symbols, non-breaking spaces and separators that don't match your regional settings."1,250.50" and "03/04/2025" can be read differently, or rejected, on a computer with another region. Use NUMBERVALUE for text with separators you control.SUBSTITUTE, CLEAN and TRIM first.Use `=VALUE(A2)`, or `=--A2`. To convert a whole column in place, select it and use Data, Text to Columns, then Finish, or use the green-triangle Convert to Number option.
The text is not something Excel recognises as a number in your regional settings. Typical causes are units such as "kg", a non-breaking space, or a different decimal separator.
VALUE uses your regional settings to read the text. NUMBERVALUE lets you state the decimal and thousands separators, so it works on data from other regions.
For converting text numbers, yes. The double negative is a shortcut. VALUE is easier to read for someone who does not know the trick.
The numbers are stored as text, and SUM skips text. Convert them with VALUE, Text to Columns or multiplying by 1, or total them with `=SUMPRODUCT(--A2:A9)`.
VALUE is taught in Logic and text, lesson 18: VALUE and text numbers. Each lesson is a short, graded exercise like the one above.