The Excel Iserror and Iserr Functions both test a value and return True or False depending on whether the value is an error or not.
However, the two functions differ in the following way:
The Excel Iserror function tests if an initial supplied expression (or value) returns an Excel Error, and if so, returns the logical value TRUE; Otherwise the function returns FALSE.
The syntax of the function is:
Where the value argument is the expression or value to be tested.
Formulas:
|
Results:
|
In the examples above, the arguments to the Iserror function calls are:
For further details of the different types of Excel error messages, see the page on Excel Formula Errors.
Also, see the Microsoft Office website for further information on the Excel 'Is' functions.