Difference between revisions of "Documentation/How Tos/Calc: ISNA function"
From Apache OpenOffice Wiki
< Documentation | How Tos
(Initial content) |
m |
||
Line 3: | Line 3: | ||
== ISNA == | == ISNA == | ||
Tests for the <tt>'''#N/A'''</tt> (Not Available) error value. | Tests for the <tt>'''#N/A'''</tt> (Not Available) error value. | ||
− | |||
=== Syntax: === | === Syntax: === | ||
Line 9: | Line 8: | ||
:Returns <tt>'''TRUE'''</tt> if <tt>'''value'''</tt> is or refers to the <tt>'''#N/A'''</tt> (Not Available) error and <tt>'''FALSE'''</tt> otherwise. | :Returns <tt>'''TRUE'''</tt> if <tt>'''value'''</tt> is or refers to the <tt>'''#N/A'''</tt> (Not Available) error and <tt>'''FALSE'''</tt> otherwise. | ||
− | |||
=== Example: === | === Example: === | ||
Line 20: | Line 18: | ||
<tt>'''ISNA(A1)'''</tt> | <tt>'''ISNA(A1)'''</tt> | ||
: where A1 contains <tt>'''"dog"'''</tt>, returns <tt>'''FALSE'''</tt>, because <tt>'''"dog"'''</tt> is text, not an error. | : where A1 contains <tt>'''"dog"'''</tt>, returns <tt>'''FALSE'''</tt>, because <tt>'''"dog"'''</tt> is text, not an error. | ||
− | |||
=== See also: === | === See also: === |
Revision as of 13:03, 19 January 2008
ISNA
Tests for the #N/A (Not Available) error value.
Syntax:
ISNA(value)
- Returns TRUE if value is or refers to the #N/A (Not Available) error and FALSE otherwise.
Example:
ISNA(NA())
- returns TRUE, because NA() returns the #N/A error.
ISNA(1/0)
- returns FALSE, because 1/0 is a #DIV/0! error, not a #N/A error.
ISNA(A1)
- where A1 contains "dog", returns FALSE, because "dog" is text, not an error.