VALUE Function

Converts text that looks like a number into a real number.

Category

Text

Available in

All versions, Microsoft 365

Returns

A number

Taught hands-on in Level 3: Intermediate Lookups & Data Summaries - Text Functions module

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

ArgumentRequired?What it does
textYesText 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))
AB
1Invoice IDNumber
2INV-2026-004242
3INV-2026-13101310
4INV-2026-00077
=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

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.