Google Sheets VALUE function
Turns text that looks like a number into a number. In Spanish Sheets it is called VALOR.
Syntax
English Sheets
=VALUE(text)
Spanish Sheets (Mexico locale)
=VALOR(texto)
Spanish Sheets (Spain, Latin America)
=VALOR(texto)
| Argument | What it is |
|---|---|
| text | The text that looks like a number. |
Example
Pasted or imported data sometimes stores numbers as text: they align left and SUM ignores them. VALUE turns them into real numbers.
=VALUE(A2)
Common mistake
If the text has letters it returns #VALUE!. Clean it first with REGEXREPLACE or SUBSTITUTE.
About Ads
This site uses Google AdSense to display ads. These ads help us keep WebHerramientas completely free. Ads are managed by Google and meet strict security and privacy standards.
Ads help us keep WebHerramientas free for everyone
Practice VALUE
Type the formula in the sheet and check it instantly. Spanish or English function names both work. See all lessons
Numbers stored as text: VALUE
Pasted or imported data sometimes stores numbers as text: they align left and SUM ignores them. VALUE turns them into real numbers.
In B2, turn the imported text into a number.
| A | B | C | |
|---|---|---|---|
| 1 | Imported | Number | |
| 2 | 1250 | ||
| 3 | 980 | ||
| 4 | 3400 | ||
| 5 | 75 | ||
| 6 | 15000 | ||
| 7 | Total | ||
| 8 |
Tip: while typing, click a cell or drag across several to insert their reference.
Frequently asked questions
- What is VALUE called in Spanish?
- In Spanish Google Sheets it is VALOR. The formula =VALUE(A2) is written =VALOR(A2) (or with commas under a Mexico locale).
- Why does VALUE use semicolons in some spreadsheets?
- It depends on each spreadsheet's locale, under File > Settings. Where the comma is the decimal mark (Spain, much of South America), arguments are separated by semicolons. Mexico and United States locales use commas.
- What is the most common VALUE mistake?
- If the text has letters it returns #VALUE!. Clean it first with REGEXREPLACE or SUBSTITUTE.