ISERR Function
Returns TRUE if the given value is an error (except N/A) and vice versa
Returns TRUE if the given value is an error (except N/A) and vice versa
The ISERR Excel Function is categorized under Information functions. The function will return TRUE if the given value is an error (except N/A) and vice versa. It belongs to the IS group of functions, which includes ISERROR, IFERROR, etc. ISERR is used in combination with the IF function to identify a potential error in a formula and display other formulas or text strings in message form or blanks. It can also be used with the IF function to display a custom message or perform some other calculation if an error is found.
In financial analysis, we need to deal with formulas and data. Often, our spreadsheet will contain a large number of formulas. Sometimes, they won’t work properly and do calculations as required when an error is encountered. The ISERR function, in combination with the IF function, can be used to default a cell’s value when an error is encountered. It allows formulas to work and evaluate data properly without requiring the user’s intervention.
=ISERR(value)
The ISERR Excel function uses the following arguments:
To understand the uses of the function, let’s consider a few examples:
Let’s see the results from the ISERR Excel function when we provide the following data:
Data | Formula | Result | Remarks |
---|---|---|---|
210 | =ISERR(210) | FALSE | As there is no error, so FALSE |
#REF! | =ISERR(#REF!) | TRUE | TRUE, as it is an error |
#N/A | =ISERR(#NA) | FALSE | FALSE, as it doesn’t take N/A |
25/0 | =ISERR(25/0) | TRUE | TRUE, as the formula is an error |
#VALUE! | =ISERR(#VALUE!) | TRUE | TRUE, as it is an error |
=ISERR() | FALSE | No error, so FALSE |
If we wish to count the number of cells that contain errors, we can use the ISERR function wrapped in the SUM function.
Suppose we are given the following data:
Using the formula =SUM(–ISERR(B5:B10)), we can get the count of cells with an error, as shown below. Remember to put this formula in an array. For the array, we need to press Control + Shift + Enter instead of just Enter.
In the above formula:
Click here to download the sample Excel file
Thanks for reading CFI’s guide to important Excel functions! By taking the time to learn and master these functions, you’ll significantly speed up your financial analysis. To learn more, check out these additional resources:
To master the art of Excel, check out CFI’s FREE Excel Crash Course, which teaches you how to become an Excel power user. Learn the most important formulas, functions, and shortcuts to become confident in your financial analysis.
Launch CFI’s Free Excel Course now to take your career to the next level and move up the ladder!