Returns string arguments as text.
Sample Usage
T(A2)
T("cat")
Syntax
T(value)
-
value- The argument to be converted to text.- If
valueis text,Treturnsvalue. - If
valueis a reference to a cell containing text,Treturns the contents ofvalue. - If
valueis an error or a cell containing an error,Treturns the error. - Otherwise,
Treturns an empty string.
- If
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.