Google Sheets TEXT function

Turns a number or date into text with the format you choose. In Spanish Sheets it is called TEXTO.

Syntax

English Sheets

=TEXT(number, format)

Spanish Sheets (Mexico locale)

=TEXTO(número, formato)

Spanish Sheets (Spain, Latin America)

=TEXTO(número; formato)

ArgumentWhat it is
numberThe number or date.
formatThe pattern: "dddd", "mmmm", "0.00", "0%"…

Example

TEXT(number, format) turns a number or date into text with the format you want: "dddd" gives the weekday and "mmmm" the month, in the spreadsheet’s language. Ideal for building sentences.

=TEXT(A2,"dddd")

Common mistake

The result is text and can no longer be added up. Day and month names follow the spreadsheet’s locale.

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 TEXT

Type the formula in the sheet and check it instantly. Spanish or English function names both work. See all lessons

TEXT

TEXT(number, format) turns a number or date into text with the format you want: "dddd" gives the weekday and "mmmm" the month, in the spreadsheet’s language. Ideal for building sentences.

Example=TEXT(A2,"dddd")TEXTO = TEXT
Step 1/2

In B2, show the weekday name of each date.

B2
ABCD
1DateDayMonth
211/02/2026
311/06/2026
412/14/2026
501/20/2027
602/28/2027
7

Tip: while typing, click a cell or drag across several to insert their reference.

Frequently asked questions

What is TEXT called in Spanish?
In Spanish Google Sheets it is TEXTO. The formula =TEXT(A2,"dddd") is written =TEXTO(A2;"dddd") (or with commas under a Mexico locale).
Why does TEXT 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 TEXT mistake?
The result is text and can no longer be added up. Day and month names follow the spreadsheet’s locale.