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

From Apache OpenOffice Wiki
Jump to: navigation, search
(Initial content)
 
m
 
(14 intermediate revisions by 6 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{DISPLAYTITLE:FORMULA function}}
 +
{{Documentation/CalcFunc InformationTOC
 +
|ShowPrevNext=block
 +
|PrevPage=Documentation/How_Tos/Calc:_ISBLANK_function
 +
|NextPage=Documentation/How_Tos/Calc:_ISERROR_function
 +
}}__NOTOC__
  
 
== ISERR  ==
 
== ISERR  ==
 
Tests for an error value other than '''#N/A'''.
 
Tests for an error value other than '''#N/A'''.
 
  
 
=== Syntax: ===
 
=== Syntax: ===
 
<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>.
  
 
=== Example: ===
 
=== Example: ===
 
<tt>'''ISERR(SQRT(-1))'''</tt>
 
<tt>'''ISERR(SQRT(-1))'''</tt>
: returns <tt>'''TRUE'''</tt>, because taking the squareroot of -1 is an error.
+
: returns <tt>'''TRUE'''</tt>, because taking the square root of -1 is an error.
  
 
<tt>'''ISERR(C5)'''</tt>
 
<tt>'''ISERR(C5)'''</tt>
Line 21: Line 27:
 
: returns <tt>'''FALSE'''</tt>, because the error value <tt>'''#N/A'''</tt> is ignored by this function.  
 
: returns <tt>'''FALSE'''</tt>, because the error value <tt>'''#N/A'''</tt> is ignored by this function.  
  
 +
{{SeeAlso|EN|
 +
* [[Documentation/How_Tos/Calc: ISERROR function|ISERROR]]
 +
* [[Documentation/How_Tos/Calc: ISNA function|ISNA]]
 +
* [[Documentation/How_Tos/Calc: NA function|NA]]
  
=== See also: ===
+
* [[Documentation/How_Tos/Calc: Information functions|Information functions]]
'''[[Documentation/How_Tos/Calc: ISERROR function|ISERROR function]]''',
+
'''[[Documentation/How_Tos/Calc: NA function|NA function]]'''
+
  
'''[[Documentation/How_Tos/Calc: Information functions|Information functions]]'''
+
* [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]]
 +
* [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}}
 +
[[Category: Documentation/Reference/Calc/Information functions]]

Latest revision as of 13:13, 31 January 2024

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 square root 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
Retrieved from "https://wiki.openoffice.org/w/index.php?title=Documentation/How_Tos/Calc:_ISERR_function&oldid=259803"
Views
Personal tools
Navigation
Tools
In other languages