IsError

 

This example illustrates the ISERROR function in Excel.

1. For example, Excel displays the #DIV/0! error when a formula tries to divide a number by 0.

#DIV/0! error

2. The ISERROR function in Excel checks whether a value is an error and returns TRUE or FALSE.

ISERROR function in Excel

3. Add the IF function. If a cell contains an error, the value 5 is returned. If not, the value 100 is returned.

IF and ISERROR