ISERR()

Syntax. ISERR(value)

Definition. This function returns the logical value TRUE if the value is an error value. Otherwise, the function returns FALSE.

An exception is #N/A. Unlike the ISERROR() function, this function returns FALSE for the #N/A error value.

Arguments

  • value (required). The expression (a number, text, a formula without an equal sign, a logical value, an error value, a reference, or a name) that you want to check

BackgroundThis function is one of the nine IS() functions that return a logical value depending on the argument. The argument of the IS() functions is not converted for evaluation. This means that a string consisting of a number is interpreted as a string (not as a number). IS() functions are often used together with the IF() function to pre-test the result of a calculation. The result returned by an IS() function can be used as the basis for conditional formats and validation rules.

The examples for the ERROR.TYPE() function show how to locate errors in formulas.

Example. Assume that you want to calculate the average of a range (B26 through B28). You also want to check for and avoid an error if none of the cells within the range contains a number.

=IF(ISERR(AVERAGE(B26:B28)),"Check the input values.",AVERAGE(B26:B28))

See Also

ERROR.TYPE(), ISBLANK(), ISERROR(), ISLOGICAL(), ISNA(), ISNONTEXT(), ISNUMBER(), ISREF(), ISTEXT()

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.119.111.179