T Function
The T function is one of the text and data functions. Is used to check whether the value in the cell (or used as argument) is text or not. In case it is not text, the function returns blank result. In case the value/argument is text, the function returns the same text value.
The T function syntax is:
T(value)
where value is data entered manually or included into the cell you make reference to.
To apply the T function,
- select the cell where you wish to display the result,
- click the Insert Function icon situated at the top toolbar,
or right-click within a selected cell and select the Insert Function option from the menu,
or click the icon situated at the formula bar, - select the Text and data function group from the list,
- click the T function,
- enter the required argument,
- press the Enter button.
The result will be displayed in the selected cell.
For example:
There is an argument: value = A1, where A1 is date and time. So the function returns date and time.
If we change the A1 data from text to numerical value, the function returns blank result.