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

From Apache OpenOffice Wiki
Jump to: navigation, search
(Initial content)
 
m
Line 6: Line 6:
  
 
=== Syntax: ===
 
=== Syntax: ===
<tt>'''ISEVEN(value)'''</tt>
+
<tt>'''ISTEXT(value)'''</tt>
  
 
: Returns <tt>'''TRUE'''</tt> if <tt>'''value'''</tt> is or refers to text, and <tt>'''FALSE'''</tt> otherwise.
 
: Returns <tt>'''TRUE'''</tt> if <tt>'''value'''</tt> is or refers to text, and <tt>'''FALSE'''</tt> otherwise.

Revision as of 15:18, 6 December 2007


ISTEXT

Tests if a cell contains text.


Syntax:

ISTEXT(value)

Returns TRUE if value is or refers to text, and FALSE otherwise.


Example:

ISTEXT(“dog”)

returns TRUE.

ISTEXT(C2)

where cell C2 contains cat returns TRUE.

ISTEXT(C3)

where cell C3 contains =NA() returns FALSE, because NA() returns an error value, not text.

ISTEXT(C4)

where C4 is an empty cell returns FALSE (an empty cell contain no text).


See also:

ISNONTEXT function, ISNUMBER function

Information functions

Personal tools