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

From Apache OpenOffice Wiki
Jump to: navigation, search
(Initial content)
 
Line 8: Line 8:
 
<tt>'''ISERR(value)'''</tt>
 
<tt>'''ISERR(value)'''</tt>
  
:Returns <tt>'''TRUE'''</tt> if value refers to or evaluates to an error value other than the Not Available error <tt>'''#N/A'''</tt>, and <tt>'''FALSE'''</tt> otherwise.
+
:Returns <tt>'''TRUE'''</tt> if <tt>'''value'''</tt> refers to or evaluates to an error value other than the Not Available error <tt>'''#N/A'''</tt>, and <tt>'''FALSE'''</tt> otherwise.
 +
 
 +
 
 +
:Use the <tt>'''ISERROR'''</tt> function to test for any errors <u>including</u> <tt>'''#N/A'''</tt>.
  
  

Revision as of 06:25, 6 December 2007


ISERR

Tests for an error value other than #N/A.


Syntax:

ISERR(value)

Returns TRUE if value refers to or evaluates to an error value other than the Not Available error #N/A, and FALSE otherwise.


Use the ISERROR function to test for any errors including #N/A.


Example:

ISERR(SQRT(-1))

returns TRUE, because taking the squareroot of -1 is an error.

ISERR(C5)

where C5 contains 123, returns FALSE, because 123 is not an error.

ISERR(NA())

returns FALSE, because the error value #N/A is ignored by this function.


See also:

ISERROR function, NA function

Information functions

Personal tools