Back to Functions

TO_TEXT

Converts a provided numeric value to a text value.

ParserTO_TEXT(value)

The TO_TEXT function in Google Sheets converts a provided numeric value into a text value, ensuring that a number is treated as a string rather than a number in subsequent formulas. It's a straightforward but valuable tool when you need explicit type control in your spreadsheets. Dive into our comprehensive guide to master its application.

Parameters

  • value: The numeric value you want to convert to text.

Step-by-Step Tutorial

  1. Converting a number to text:

    • Example: =TO_TEXT(42)
    • Result: "42" (as text)
  2. Using TO_TEXT before concatenation:

    • Example: ="Total: " & TO_TEXT(100)
    • Result: "Total: 100"

Use Cases and Scenarios

  1. Text Concatenation: Ensure numbers are converted to a consistent text format when joining them with other strings.
  2. Type Enforcement: Force a numeric value to behave as text for formulas that require string inputs, like REGEXMATCH.
  3. Data Formatting: Standardize how numbers appear when exported or displayed alongside text.

Related Functions

  • TEXT: Converts a number into text according to a specified format.
  • VALUE: Converts a string in any date, time, or number format into a number.
  • TO_PURE_NUMBER: Converts a provided date/time/percent/currency value to a pure number.

Related Articles

No related articles available for the TO_TEXT function.

Newsletter

More TO_TEXT examples coming soon.

We are building short, practical updates for Sheets power users.