Difference between revisions of "Documentation/How Tos/Calc: ISERROR function"
From Apache OpenOffice Wiki
< Documentation | How Tos
Javier Lopez (talk | contribs) |
Javier Lopez (talk | contribs) |
||
Line 3: | Line 3: | ||
|booktitle=<div style="padding: 8px; font-size: 140%; font-weight: bold; background-color: #9BC0F5;">CALC FUNCTIONS</div> | |booktitle=<div style="padding: 8px; font-size: 140%; font-weight: bold; background-color: #9BC0F5;">CALC FUNCTIONS</div> | ||
|ShowParttitle=block|parttitle=[[Documentation/How_Tos/Calc:_Information_functions|<div style="font-size: 140%;">Information Functions]] | |ShowParttitle=block|parttitle=[[Documentation/How_Tos/Calc:_Information_functions|<div style="font-size: 140%;">Information Functions]] | ||
− | |ShowNextPage=block|NextPage=Documentation/How_Tos/Calc: | + | |ShowNextPage=block|NextPage=Documentation/How_Tos/Calc:_ISEVEN_function |
− | |ShowPrevPage=block|PrevPage=Documentation/How_Tos/Calc: | + | |ShowPrevPage=block|PrevPage=Documentation/How_Tos/Calc:_ISERR_function |
|ShowPrevPart=block|PrevPart=Documentation/How_Tos/Calc:_Financial_functions | |ShowPrevPart=block|PrevPart=Documentation/How_Tos/Calc:_Financial_functions | ||
|ShowNextPart=block|NextPart=Documentation/How_Tos/Calc:_Logical_functions | |ShowNextPart=block|NextPart=Documentation/How_Tos/Calc:_Logical_functions |
Revision as of 04:25, 1 June 2013
CALC FUNCTIONS
< {{#switch:Previous Page | Previous Section = Previous Section | Next Section = Next Section | Previous Page = Previous Page | Next Page = Next Page | }} | {{#switch:Next Page | Previous Section = Previous Section | Next Section = Next Section | Previous Page = Previous Page | Next Page = Next Page | }} > |
ISERROR
Tests for any error value.
Syntax:
ISERROR(value)
- Returns TRUE if value refers to or evaluates to any error value, including #N/A, and FALSE otherwise.
- Use the ISERR function to test for any errors except #N/A.
Example:
ISERROR(SQRT(-1))
- returns TRUE, because taking the squareroot of -1 is an error.
ISERROR(C5)
- where C5 contains 123, returns FALSE, because 123 is not an error.
ISERROR(NA())
- returns TRUE, because NA() returns the #N/A error.
Issues:
- CHOOSE(0;"A";"B";"C";"D") returns Err:502 (correctly - the index is out of range) but ISERROR(CHOOSE(0;"A";"B";"C";"D")) also returns Err:502, rather than TRUE. The error is propagated rather than evaluated.