Category: FUNCTION | Updated: 2026-11-22
How to Use the TO_TEXT Function in Google Sheets | Convert Numbers and Dates to Text
How to Use the TO_TEXT Function
The TO_TEXT function is a Google Sheets conversion function that converts a specified number, date, or other value into a text string.
Syntax
=TO_TEXT(value)
- value: The number, date, or cell reference to convert into text (required).
Examples
Here is an example of converting cells with currency or date formatting into text while preserving how they look.
| Row | Column A (Source Data) | Column B (Formula) | Column C (Result / Text) |
|---|---|---|---|
| 1 | Source Data | Formula | Result |
| 2 | 1500 | =TO_TEXT(A2) |
1500 |
| 3 | ¥1,500 | =TO_TEXT(A3) |
¥1,500 |
| 4 | 2026/11/22 | =TO_TEXT(A4) |
2026/11/22 |
- Explanation: When cell A3 has currency formatting (
¥1,500),TO_TEXTconverts it into a text string that retains the currency symbol and comma.
Common Errors and Tips
- Converted values are excluded from calculations like
SUM: Numbers converted to text byTO_TEXTlook like numbers but are treated as text internally, so functions likeSUMandAVERAGEignore them. - Passing an already-text cell causes no error: If the referenced cell already contains text,
TO_TEXTsimply returns the same string. - When you need custom formatting: If you want to apply a different format such as zero-padding (
1→001) or adding day names, use theTEXTfunction instead.
Frequently Asked Questions
Q. What is the difference between TO_TEXT and TEXT?
A. The TEXT function requires a second argument specifying the display format (such as "0000" or "yyyy/mm/dd"), whereas TO_TEXT takes just one argument and converts the cell to text using its current display format.
Q. Are values converted by TO_TEXT left-aligned?
A. Yes. By default in Google Sheets, values converted to text strings are automatically left-aligned in the cell.