Difference between revisions of "Documentation/How Tos/Calc: ISERROR function"
From Apache OpenOffice Wiki
< Documentation | How Tos
m |
m |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | __NOTOC__ | + | {{DISPLAYTITLE:ISERROR function}} |
+ | {{Documentation/CalcFunc InformationTOC | ||
+ | |ShowPrevNext=block | ||
+ | |PrevPage=Documentation/How_Tos/Calc:_ISERR_function | ||
+ | |NextPage=Documentation/How_Tos/Calc:_ISEVEN_function | ||
+ | }}__NOTOC__ | ||
== ISERROR == | == ISERROR == | ||
Line 14: | Line 19: | ||
=== Example: === | === Example: === | ||
<tt>'''ISERROR(SQRT(-1))'''</tt> | <tt>'''ISERROR(SQRT(-1))'''</tt> | ||
− | : returns <tt>'''TRUE'''</tt>, because taking the | + | : returns <tt>'''TRUE'''</tt>, because taking the square root of -1 is an error. |
<tt>'''ISERROR(C5)'''</tt> | <tt>'''ISERROR(C5)'''</tt> | ||
Line 25: | Line 30: | ||
* <tt>'''CHOOSE(0;"A";"B";"C";"D")'''</tt> returns <tt>'''Err:502'''</tt> (correctly - the index is out of range) but <tt>'''ISERROR(CHOOSE(0;"A";"B";"C";"D"))'''</tt> also returns <tt>'''Err:502'''</tt>, rather than <tt>'''TRUE'''</tt>. The error is propagated rather than evaluated. | * <tt>'''CHOOSE(0;"A";"B";"C";"D")'''</tt> returns <tt>'''Err:502'''</tt> (correctly - the index is out of range) but <tt>'''ISERROR(CHOOSE(0;"A";"B";"C";"D"))'''</tt> also returns <tt>'''Err:502'''</tt>, rather than <tt>'''TRUE'''</tt>. The error is propagated rather than evaluated. | ||
− | {{ | + | {{SeeAlso|EN| |
* [[Documentation/How_Tos/Calc: ISERR function|ISERR]] | * [[Documentation/How_Tos/Calc: ISERR function|ISERR]] | ||
* [[Documentation/How_Tos/Calc: ISNA function|ISNA]] | * [[Documentation/How_Tos/Calc: ISNA function|ISNA]] |