Difference between revisions of "Documentation/How Tos/Calc: T function"
From Apache OpenOffice Wiki
< Documentation | How Tos
(Initial content) |
(→See also:) |
||
Line 32: | Line 32: | ||
'''[[Documentation/How_Tos/Calc: Text functions|Text functions]]''' | '''[[Documentation/How_Tos/Calc: Text functions|Text functions]]''' | ||
+ | |||
+ | [[Documentation/How_Tos/Calc: Functions listed alphabetically|'''Functions listed alphabetically''']], | ||
+ | [[Documentation/How_Tos/Calc: Functions listed by category|'''Functions listed by category''']] |
Revision as of 16:06, 13 September 2008
T
Returns the given text, or an empty text string if the target is not text.
Syntax:
T(value)
- if value is text, it is returned.
- if value is a number or a logical value, an empty text string "" is returned.
Example:
T("red car")
- returns red car.
T(123.4)
- returns an empty text string.
ISTEXT(T(123.4))
- returns TRUE.
T(NA())
- returns the #N/A error. Errors are propagated.
See also:
Functions listed alphabetically, Functions listed by category