Difference between revisions of "Documentation/How Tos/Calc: ISNONTEXT function"
From Apache OpenOffice Wiki
< Documentation | How Tos
(Initial content) |
m |
||
Line 3: | Line 3: | ||
== ISNONTEXT == | == ISNONTEXT == | ||
Tests if a cell contains no text. | Tests if a cell contains no text. | ||
− | |||
=== Syntax: === | === Syntax: === | ||
Line 10: | Line 9: | ||
: Returns <tt>'''TRUE'''</tt> unless <tt>'''value'''</tt> is or refers to text, in which case it returns <tt>'''FALSE'''</tt>. | : Returns <tt>'''TRUE'''</tt> unless <tt>'''value'''</tt> is or refers to text, in which case it returns <tt>'''FALSE'''</tt>. | ||
: <tt>'''ISNONTEXT(value)'''</tt> is equivalent to <tt>'''NOT(ISTEXT(value))'''</tt>. | : <tt>'''ISNONTEXT(value)'''</tt> is equivalent to <tt>'''NOT(ISTEXT(value))'''</tt>. | ||
− | |||
=== Example: === | === Example: === | ||
Line 24: | Line 22: | ||
<tt>'''ISNONTEXT(C4)'''</tt> | <tt>'''ISNONTEXT(C4)'''</tt> | ||
: where C4 is an empty cell, returns <tt>'''TRUE'''</tt> (an empty cell contains no text). | : where C4 is an empty cell, returns <tt>'''TRUE'''</tt> (an empty cell contains no text). | ||
− | |||
=== See also: === | === See also: === |
Revision as of 13:00, 19 January 2008
ISNONTEXT
Tests if a cell contains no text.
Syntax:
ISNONTEXT(value)
- Returns TRUE unless value is or refers to text, in which case it returns FALSE.
- ISNONTEXT(value) is equivalent to NOT(ISTEXT(value)).
Example:
ISNONTEXT(123)
- returns TRUE.
ISNONTEXT(C2)
- where cell C2 contains cat, returns FALSE.
ISNONTEXT(C3)
- where cell C3 contains =1/0, returns TRUE, because =1/0 returns an error value, not text.
ISNONTEXT(C4)
- where C4 is an empty cell, returns TRUE (an empty cell contains no text).
See also:
ISTEXT function, ISNUMBER function, ISBLANK function, ISERROR function, ISLOGICAL function, ISFORMULA function