Difference between revisions of "Documentation/How Tos/Calc: T function"

From Apache OpenOffice Wiki
Jump to: navigation, search
(See also:)
m
 
(8 intermediate revisions by 5 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{DISPLAYTITLE:T function}}
 +
{{Documentation/CalcFunc TextTOC
 +
|ShowPrevNext=block
 +
|PrevPage=Documentation/How_Tos/Calc:_SUBSTITUTE_function
 +
|NextPage=Documentation/How_Tos/Calc:_TEXT_function
 +
}}__NOTOC__
  
 
== T ==
 
== T ==
Line 23: Line 28:
 
: returns the <tt>'''#N/A'''</tt> error. Errors are propagated.
 
: returns the <tt>'''#N/A'''</tt> error. Errors are propagated.
  
=== See also: ===
+
{{SeeAlso|EN|
'''[[Documentation/How_Tos/Calc: TEXT function|TEXT]]''',
+
* [[Documentation/How_Tos/Calc: TEXT function|TEXT]]
'''[[Documentation/How_Tos/Calc: N function|N]]''',
+
* [[Documentation/How_Tos/Calc: N function|N]]
'''[[Documentation/How_Tos/Calc: VALUE function|VALUE]]'''
+
* [[Documentation/How_Tos/Calc: VALUE function|VALUE]]
  
'''[[Documentation/How_Tos/Calc: ISTEXT function|ISTEXT]]''',
+
* [[Documentation/How_Tos/Calc: ISTEXT function|ISTEXT]]
'''[[Documentation/How_Tos/Calc: NA function|NA]]'''
+
* [[Documentation/How_Tos/Calc: NA function|NA]]
  
'''[[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 alphabetically|Functions listed alphabetically]]
[[Documentation/How_Tos/Calc: Functions listed by category|'''Functions listed by category''']]
+
* [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}}
 +
[[Category: Documentation/Reference/Calc/Text functions]]

Latest revision as of 15:41, 2 February 2024



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
Retrieved from "https://wiki.openoffice.org/w/index.php?title=Documentation/How_Tos/Calc:_T_function&oldid=260115"
Views
Personal tools
Navigation
Tools