Excel & Google Sheets Function
TEXT function in Excel (with interactive examples)
TEXT formats numbers and dates into readable text strings such as "$1,250.00", "94%", or "2026-Q4" inside dynamic labels.
Syntax
=TEXT(value, format_text)Live Interactive Exercise — Try it nowNo login required
Interactive practice grid (TEXT reference)
Try our live spreadsheet engine: total Q1 sales in cell B5 using =SUM(B2:B4).
B5fx
| A | B | |
|---|---|---|
| 1 | Month | Sales |
| 2 | Jan | $1,100.00 |
| 3 | Feb | $1,350.00 |
| 4 | Mar | $1,550.00 |
| 5 | Total | type here |
Insert:
Arguments explained
| value | Required | Number or date cell. |
| format_text | Required | Format code in quotes, e.g. "$#,##0", "0.0%", or "yyyy-mm-dd". |
Common errors & fixes
Cannot sum TEXT output: TEXT always returns a text string; format the cell directly instead if you need math later.
Excel vs Google Sheets
Identical in Google Sheets.
Practise TEXT in a full 4-minute lesson
Every lesson is free to study — build real speed with instant feedback.
Free 1-Page Excel, Google Sheets & SQL Interview Cheat Sheet
The 25 formulas, keyboard shortcuts, and SQL patterns tested most in analyst interviews — emailed instantly, zero spam.