VALUE function
Converts text that looks like a number, percentage, date or time into a real number Excel can calculate with.
Available in All versions of Excel, including Microsoft 365, Excel for Mac and Excel for the web
In every Excel versionWorks in Google Sheets
Syntax
VALUE(text)| Argument | What it means | |
|---|---|---|
text | Required | Text in a format Excel recognises as a number, date or time, or a cell containing it. |
Returns: A number (dates and times as their serial numbers).
How VALUE works
Sometimes numbers arrive as text: imported from CSV files or web pages, typed with an apostrophe, or produced by text functions like LEFT, MID or RIGHT. They look like numbers but are usually left-aligned, carry a green triangle, and are ignored by SUM. VALUE turns such text into a genuine number.
It understands anything you could type into a cell and have recognised as a number in your regional settings: thousands separators ("1,250.50"), percentages ("15%" becomes 0.15), currency symbols ("$99"), dates ("2026-03-15" becomes 46096) and times ("18:00" becomes 0.75). If the text uses a different country's separators, use NUMBERVALUE instead.
Excel often converts text automatically in calculations (="5"*2 gives 10), but not inside functions like SUM or in comparisons, so explicit conversion with VALUE (or the shorter --) is the safe habit.
Examples
1Amount with thousands separator
| A | B | |
|---|---|---|
| 1 | Amount (text) | |
| 2 | 1,250.50 | 1250.5 |
Result: 1250.5
The comma and decimal point are recognised (US/UK settings), giving the number 1250.5.
2Percentage text
| A | B | |
|---|---|---|
| 1 | Discount (text) | |
| 2 | 15% | 0.15 |
Result: 0.15
The percent sign divides by 100. Format the cell as a percentage to show 15%.
3Date text to a real date
| A | B | |
|---|---|---|
| 1 | Date (text) | |
| 2 | 2026-03-15 | 46096 |
Result: 46096
VALUE returns the serial number 46096. Apply a date format to see it as a date again; now it can be used in date arithmetic.
4Number from a code
| A | B | |
|---|---|---|
| 1 | Invoice | |
| 2 | INV-0042 | 42 |
Result: 42
RIGHT returns the text 0042; VALUE turns it into the number 42 (leading zeros disappear).
Common errors and how to fix them
| Error | Why it happens | Fix |
|---|---|---|
#VALUE! | The text is not recognisable as a number, e.g. contains letters, extra symbols or another country's separators. | Clean it with SUBSTITUTE/TRIM, or use NUMBERVALUE with explicit separators. |
Tips
--A2andA2*1do the same conversion and are common in array formulas.- To fix a whole column of text numbers without formulas, select it and use Data > Text to Columns > Finish, or the warning-triangle menu's Convert to Number.
- A non-breaking space inside the text causes #VALUE!; remove it with
SUBSTITUTE(A2,CHAR(160),"").
Questions
Why does SUM ignore my numbers?
They are stored as text. Convert them with VALUE, --, or Convert to Number, then SUM will include them.
What is the difference between VALUE and NUMBERVALUE?
VALUE uses your computer's separators; NUMBERVALUE lets you specify the decimal and thousands separators of the source text.
Can VALUE convert dates?
Yes, if the text is a date format your Excel recognises. It returns the serial number, which you then format as a date.
Google Sheets
VALUE also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.
VALUE in other languages
In a non-English version of Excel the function has a local name. Excel translates formulas automatically when a file is opened in another language.
| Language | Function name |
|---|---|
| Czech | HODNOTA |
| Danish | VÆRDI |
| Dutch | WAARDE |
| Finnish | ARVO |
| French | CNUM |
| German | WERT |
| Hungarian | ÉRTÉK |
| Italian | VALORE |
| Norwegian (Bokmål) | VERDI |
| Polish | WARTOŚĆ |
| Portuguese (Brazil) | VALOR |
| Portuguese (Portugal) | VALOR |
| Russian | ЗНАЧЕН |
| Spanish | VALOR |
| Swedish | TEXTNUM |
| Turkish | SAYIYAÇEVİR |