ISERR function in Google Sheets
Checks whether a value is an error other than `#N/A`.
=ISERR(value)ISERR syntax and parameters
One argument, one required.
- valueanyRequired
The value to be verified as an error type other than #N/A. ISERR returns TRUE if value is any error other than #N/A,including #DIV/0!, #NAME?, #NULL!, #NUM!, #VALUE!, and #REF!. This is useful in certain applications where #N/A may be a valid outcome, whereas the other error types always indicate a fundamental problem.
ISERR examples
Formulas you'll actually reuse.
Trap #DIV/0! and #VALUE! but let #N/A through — ISERR ignores #N/A:
=IF(ISERR(C2 / B2), "Check inputs", C2 / B2)Result
"Check inputs"Count calculation errors in a column, not counting missing lookups:
=SUMPRODUCT(--ISERR(F2:F200))Result
3
ISERR in Excel
Same name — your formula ports as-is.
Try ISERR in the playground
Edit the example — nothing to install.
Preloaded with the ISERR formula from Example 1 — change anything and watch it respond.
Related functions
More ways Google Sheets gets this done.
- CELLReturns the requested information about the specified cell.InfoExcel
- ERROR.TYPEReturns a number corresponding to the error value in a different cell.InfoExcel
- ISBLANKChecks whether the referenced cell is empty.InfoExcel
- ISDATEReturns whether a value is a date.InfoNo Excel equivalent
- ISEMAILChecks whether a value is a valid email address.InfoNo Excel equivalent
- ISERRORChecks whether a value is an error.InfoExcel