Back to Functions

T

Returns string arguments as text.

TextT(value)

The T function in Google Sheets returns string arguments as text, and returns an empty string for anything that isn't already text. It's a small but useful tool for ensuring a value is treated as text before it flows into another formula. Dive into our comprehensive guide to master its application.

Parameters

  • value: The value to check and return as text if it is a string.

Step-by-Step Tutorial

  1. Using T with a string value:

    • Example: =T("Hello World")
    • Result: "Hello World"
  2. Using T with a non-text value:

    • Example: =T(123)
    • Result: ""

Use Cases and Scenarios

  1. Data Validation: Confirm that a cell's content is genuinely text before using it in a text-only formula.
  2. Mixed-Type Ranges: Filter out numeric values from a mixed range by returning only the text entries.

Related Functions

  • TEXT: Converts a number into text according to a specified format.
  • VALUE: Converts a string in a number format into a number.
  • N: Returns the argument provided as a number.

Related Articles

Newsletter

More T examples coming soon.

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