How to Use the VALUE Function in Google Sheets | Convert Text Numbers and Dates to Numbers
How to Use the VALUE Function
The VALUE function converts a text string representing a number, date, or time into a true numeric value that can be used in arithmetic and aggregation functions. It is especially helpful when cleaning CSV exports from external systems or converting digits extracted with LEFT or RIGHT.
Syntax
=VALUE(text)
- text: The text string or cell reference to convert into a number (required). It also supports currency symbols (
$,¥), commas (,), percentages (%), and date strings.
Example Using a Table
Here is an example of converting text-formatted entries (typically left-aligned) into numeric values.
| Row | Column A (Text Data) | Column B (Converted with VALUE) | Column C (Notes) |
|---|---|---|---|
| 1 | Raw Data (Text) | Numeric Result | Conversion Details |
| 2 | "1500" |
=VALUE(A2) → 1500 |
Converted to a pure number |
| 3 | "$24,800" |
=VALUE(A3) → 24800 |
Stripped currency symbol and comma |
| 4 | "15%" |
=VALUE(A4) → 0.15 |
Converted percentage text to decimal |
- Formula:
=VALUE(A2) - Result:
1500
Data that would otherwise be ignored by SUM when stored as text can be summed accurately once passed through VALUE.
Common Errors and Notes
- Non-Numeric Text Causes
#VALUE!: Strings containing units or extra words (such as"100 yen"or"approx. 500") cannot be parsed and return#VALUE!. Remove unwanted text first withSUBSTITUTEbefore applyingVALUE. - Blank Cells Return
0: Referencing an empty cell returns0without an error. - Full-Width Digits May Not Auto-Convert: Full-width digits such as
"123"can cause errors depending on locale or format, so convert them to half-width characters first (e.g., withASC) for reliable results.
Frequently Asked Questions
Q. Is there a way to use text numbers in calculations without VALUE?
A. You can multiply the text number by 1 (*1) or use a double negative (--A2) to coerce it into a number. However, using VALUE is recommended when you want the formula's intent to be clear.
Q. Why does a date converted by VALUE turn into a 5-digit number like 46348?
A. Google Sheets stores dates internally as sequential "serial numbers." Selecting Format > Number > Date from the menu displays it as a normal date again.