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)

ArgumentWhat it is
textThe 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.

Advertising
Loading ad...

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.

Example=VALUE(A2)VALOR = VALUESUMA = SUM
Step 1/2

In B2, turn the imported text into a number.

B2
ABC
1ImportedNumber
21250
3 980
43400
575
615000
7Total
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.