- What does T return when the cell contains a date?
- Dates are stored as serial numbers, which are numeric values. T treats them as non-text, so it returns an empty string. If you need the date displayed as text, wrap the cell in TEXT with a date format.
- Can T be used to test whether a cell contains any text?
- Yes. Because T returns the original text or "" for everything else, you can test the result with =T(A1)<>"". A TRUE result means A1 held text, while FALSE indicates a number, date, boolean, or blank.
- Why does T sometimes give back an error instead of an empty string?
- T never hides error values; it propagates them unchanged. This design lets you see that the source cell is already in an error state, which is often more helpful than silently converting the error to an empty string.
- Is there any advantage of using T over the TEXT function?
- T simply returns text unchanged and discards everything else, whereas TEXT converts numbers, dates, and other types into formatted strings. Use T when you only want to keep existing text and ignore other data types; use TEXT when you need to transform numbers or dates into a specific textual representation.