T

Returns string arguments as text.

Sample usage

T(A2)

T("cat")

Syntax

T(value)

  • value – The argument to be converted to text.

    • If value is text, T returns value.

    • If value is a reference to a cell containing text, T returns the contents of value.

    • If value is an error or a cell containing an error, T returns the error.

    • Otherwise, T returns an empty string.

Notes

  • This function is rarely necessary as Google Sheets automatically converts between most formats appropriately. It is provided primarily for compatibility with formulas used in other spreadsheet packages.

See also

N: Returns the argument provided as a number.

Examples

true
Visit the Learning Center

Using Google products, like Google Docs, at work or school? Try powerful tips, tutorials, and templates. Learn to work on Office files without installing Office, create dynamic project plans and team calendars, auto-organize your inbox, and more.

Search
Clear search
Close search
Main menu
4719745794335115113
true
Search Help Centre
true
true
true
true
true
35
false
false