1. Home
  2. Functions
  3. Text
  4. T

T function

Returns the value if it is text, otherwise empty text.

Syntax

=T(value)

Arguments

ArgumentRequiredDescription
valueRequiredThe value to check

How to use T

T takes 1 required argument. Type =T( in a cell and SheetsBat shows the arguments as you go. Optional arguments are shown in square brackets; leave them out to use their default.

Examples

Each result below was calculated by the SheetsBat formula engine.

=T("Rainfall")Result "Rainfall"
=T(19)Result "" (empty text)
=T(TRUE)Result "" (empty text)

Every formula, right in your browser

SheetsBat calculates 536 functions, with charts, pivot tables and live collaboration. Free to start.