VALUE Function
Converts text that looks like a number into a real number.
Category
Text
Available in
All versions, Microsoft 365
Returns
A number
Overview
VALUE turns text such as "1250" or "15%" into an actual number you can calculate with.
Text numbers are common in imports and in the results of LEFT, RIGHT and MID. They sit on the left of the cell and SUM skips them.
Syntax
=VALUE(text) Explain
Arguments
| Argument | Required? | What it does |
|---|---|---|
| text | Yes | Text that looks like a number, date or time. |
Examples
Example 1 — Invoice number from an ID
The last four characters of each ID are the invoice number. RIGHT gives text; VALUE makes it a number.
B2fx=VALUE(RIGHT(A2, 4))
| A | B | |
|---|---|---|
| 1 | Invoice ID | Number |
| 2 | INV-2026-0042 | 42 |
| 3 | INV-2026-1310 | 1310 |
| 4 | INV-2026-0007 | 7 |
=VALUE(RIGHT(A2, 4)) Explain
Example 2 — Fixing text numbers
A column of imported amounts won't add up. Convert them in a helper column.
=VALUE(TRIM(A2)) Explain
A quicker shortcut is a double minus: =--A2. Both give the same result.
Common mistakes
- #VALUE! errors. The text contains something that isn't part of a number — a letter, or a currency symbol from another region. Clean it first, or use NUMBERVALUE for different separators.
Notes
- Related functions: NUMBERVALUE, TEXT, TRIM.

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.