Description
The Microsoft Excel T function returns the text referred to by a value.
The Microsoft Excel T function returns the text referred to by a value.
Syntax
The syntax for the T function in Microsoft Excel is:
T( value )
The syntax for the T function in Microsoft Excel is:
T( value )
Parameters or Arguments
- value
- The value to extract the text from.
- value
- The value to extract the text from.
Applies To
- Excel 2016, Excel 2013, Excel 2011 for Mac, Excel 2010, Excel 2007, Excel 2003, Excel XP, Excel 2000
- Excel 2016, Excel 2013, Excel 2011 for Mac, Excel 2010, Excel 2007, Excel 2003, Excel XP, Excel 2000
Type of Function
- Worksheet function (WS)
- Worksheet function (WS)
Example (as Worksheet Function)
Let's look at some Excel T function examples and explore how to use the T function as a worksheet function in Microsoft Excel:
Based on the Excel spreadsheet above, the following T examples would return:
=T(A1)
Result: "Alphabet soup"
=T(A2)
Result: "techonthenet"
=T(A3)
Result: "34 hats"
=T(A4)
Result: ""
=T(A5)
Result: "techonthenet.com"
=T("56")
Result: "56"
=T(56)
Result: ""
=T(TRUE)
Result: ""
Let's look at some Excel T function examples and explore how to use the T function as a worksheet function in Microsoft Excel:
Based on the Excel spreadsheet above, the following T examples would return:
=T(A1) Result: "Alphabet soup" =T(A2) Result: "techonthenet" =T(A3) Result: "34 hats" =T(A4) Result: "" =T(A5) Result: "techonthenet.com" =T("56") Result: "56" =T(56) Result: "" =T(TRUE) Result: ""