IsError function can be used to check for error values.
The syntax for the IsError function is:
IsError( value )
Often times your spreadsheet contains a large amount of formulas which will not properly calculate when an error is encountered. The IsError function, in combination with the If function, can be used to default a cell's value when an error is occurred. This allows your formulas to evaluate properly without your intervention.