# VALUE in Google Sheets: syntax and examples

URL: https://goingstellar.ro/reference/sheets/value/

VALUE turns text into a number. It understands plain numbers, percentages, dates and times written in the spreadsheet locale. Use it on imported data where numbers arrive as text and sums or lookups fail.

## Syntax

```
VALUE(text)
```

## Arguments

- `text` (string, required: yes): A text that looks like a number, date, time or percentage.

## Examples

The examples use this table, starting in A1:

| Text |
|---|
| abc |
| 12 kg |

```
=VALUE("1234")
```

Result: `1234`

Text that holds a number becomes a real number. Run in a Google Sheet (English US locale) on 2026-11-29.

```
=VALUE("12%")
```

Result: `0.12`

A percentage in text becomes the fraction 0.12. Run in a Google Sheet (English US locale) on 2026-11-29.

```
=VALUE("2026-01-15")
```

Result: `46037`

A date in text becomes its serial number. Run in a Google Sheet (English US locale) on 2026-11-29.

```
=VALUE("1:30")
```

Result: `0.0625`

A time becomes a fraction of a day. Run in a Google Sheet (English US locale) on 2026-11-29.

```
=IFERROR(VALUE(A2), "not a number")
```

Result: `not a number`

Wrap VALUE in IFERROR when the source may hold plain text. Run in a Google Sheet (English US locale) on 2026-11-29.

## Common errors

- Text with units or letters, such as "12 kg", returns #VALUE!. Strip the extra characters first with REGEXREPLACE or SUBSTITUTE.
- The decimal sign follows the file locale. With Locale set to Romania, "1,5" is read as 1.5.
- Dates and times become serial numbers. Format the cell as a date to read them.
- A non-breaking space, CHAR(160), breaks the conversion and TRIM does not remove it. Replace it with SUBSTITUTE first.

## Compared with Excel

Same syntax in Excel.

## Related functions

- [TRIM](https://goingstellar.ro/reference/sheets/trim/)
- [REGEXREPLACE](https://goingstellar.ro/reference/sheets/regexreplace/)
- [SUBSTITUTE](https://goingstellar.ro/reference/sheets/substitute/)
- [DATEVALUE](https://goingstellar.ro/reference/sheets/datevalue/)
- [ISNUMBER](https://goingstellar.ro/reference/sheets/isnumber/)

## Sources

- [VALUE (Docs Editors Help)](https://support.google.com/docs/answer/3094220)

