Google Sheets
ISERROR function in Google Sheets
Checks whether a value is an error.
=ISERROR(value)ISERROR syntax and parameters
One argument, one required.
- valueanyRequired
The value to be verified as an error type. ISERROR returns TRUE if value is any error, including #DIV/0!, #N/A, #NAME?,#NULL!, #NUM!, #VALUE!, and #REF!.
ISERROR examples
Formulas you'll actually reuse.
A lookup that says so instead of showing #N/A:
=IF(ISERROR(VLOOKUP(A2, Prices!A:B, 2, FALSE)), "No price", VLOOKUP(A2, Prices!A:B, 2, FALSE))Result
"No price"How many rows of a column are errors of any kind:
=SUMPRODUCT(--ISERROR(F2:F200))Result
5
ISERROR in Excel
Same name — your formula ports as-is.
Try ISERROR in the playground
Edit the example — nothing to install.
Preloaded with the ISERROR formula from Example 1 — change anything and watch it respond.
Loading the editor…
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
- ISERRChecks whether a value is an error other than `#N/A`.InfoExcel