What is the VALUE function?
=VALUE(text)VALUE converts text that looks like a number into a real number. Use it when data imported from another program arrives as text and won't add up.
It reads commas, currency symbols, % and parentheses for negatives, and turns date and time text into serial numbers. Check on the strip above which characters are skipped.
Arguments
- text
- The text or cell to convert.
VALUE examples
Example 1. Currency
=VALUE("$1,234,500")1234500.
Example 2. Percent
=VALUE("15%")0.15.
Example 3. Time
=VALUE("16:48:00")-VALUE("12:00:00")0.2 (4 hours 48 minutes).
Example 4. A unit attached
=VALUE("12pcs")#VALUE!. Remove the unit first with =VALUE(SUBSTITUTE(A2,"pcs","")).
Common mistakes
Thinking it is always needed
Excel often converts number text automatically in calculations: "10"+1 is 11. But SUM skips text inside a range, so VALUE is needed there.
Unit words
Text such as "pcs" or "kg" attached to the number gives #VALUE!.
FAQ
- Which currency symbols are read?
- It depends on the regional settings of your Excel. This playground reads $ and ₩.
- How is it different from NUMBERVALUE?
- NUMBERVALUE lets you specify the decimal and group separators.