Excel TEXT function

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

Syntax

English Excel

=TEXT(value, format_text)

Spanish Excel (Mexico)

=TEXTO(valor, formato)

Spanish Excel (Spain, Latin America)

=TEXTO(valor; formato)

ArgumentWhat it is
valueThe number or date.
format_textThe format in quotes: "dddd", "mmmm", "$#,##0.00"…

Example

TEXT(value, format) turns a number or date into text with the format you want: "dddd" gives the weekday, "mmmm" the month, "$#,##0.00" currency. Ideal for building sentences.

=TEXT(A2,"dddd")

Common mistake

The result is text and can no longer be added up. Spanish Excel writes the year as "aaaa" instead of "yyyy".

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(value, format) turns a number or date into text with the format you want: "dddd" gives the weekday, "mmmm" the month, "$#,##0.00" currency. Ideal for building sentences.

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

In C2, show the weekday name of each date.

C2
ABCDE
1DateAmountDayFormatted amount
211/02/20261,250
311/06/2026980.5
411/14/202615,300
511/20/2026499.9
611/29/20267
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 Excel it is TEXTO. The formula =TEXT(A2,"dddd") is written =TEXTO(A2;"dddd") (or with commas in Mexico).
Why does TEXT use semicolons in some Excel versions?
It depends on regional settings. Where the comma is the decimal mark (Spain, much of South America), Excel separates arguments with semicolons. English Excel and Mexican Spanish Excel use commas.
What is the most common TEXT mistake?
The result is text and can no longer be added up. Spanish Excel writes the year as "aaaa" instead of "yyyy".