Excel
TEXT function in Excel
Formats a number and converts it to text
=TEXT(value, format_text)TEXT syntax and parameters
Two arguments, two required.
- valuenumberRequired
A numeric value that you want to be converted into text.
- format_textstringRequired
A text string that defines the formatting that you want to be applied to the supplied value.
TEXT examples
Formulas you'll actually reuse.
A date rendered as readable text for a message or a label:
=TEXT(B2, "mmm d, yyyy")Result
"Aug 14, 2026"Currency formatting survives concatenation only if TEXT applies it first:
="Total: " & TEXT(SUM(C2:C200), "$#,##0.00")Result
"Total: $148,200.00"
TEXT in Google Sheets
Same name — your formula ports as-is.
Try TEXT in the playground
Edit the example — nothing to install.
Preloaded with the TEXT formula from Example 1 — change anything and watch it respond.
Loading the editor…
Related functions
More ways Excel gets this done.
- ARRAYTOTEXTReturns an array of text values from any specified rangeTextNo Google Sheets equivalent
- CHARReturns the character specified by the code numberTextGoogle Sheets
- CLEANRemoves all nonprintable characters from textTextGoogle Sheets
- CODEReturns a numeric code for the first character in a text stringTextGoogle Sheets
- CONCATCombines the text from multiple ranges and/or strings, but it doesn't provide the delimiter or IgnoreEmpty arguments.TextGoogle Sheets
- CONCATENATEJoins several text items into one text itemTextGoogle Sheets