Skip to content
Excel

T function in Excel

Converts its arguments to text

=T(value)

T syntax and parameters

One argument, one required.

  • valueanyRequired

    The value you want to test.

T examples

Formulas you'll actually reuse.

  1. Text comes back as-is; a number or date comes back as an empty string:

    =T(A2)

    Result"Maria Lopez"

  2. Tell text from numbers in a mixed column:

    =IF(T(A2) = "", "number", "text")

    Result"number"

T in Google Sheets

Same name — your formula ports as-is.

Try T in the playground

Edit the example — nothing to install.

Preloaded with the T formula from Example 1 — change anything and watch it respond.

Loading the editor…