Excel
ISERROR function in Excel
Returns TRUE if the value is any error value
=ISERROR(value)ISERROR syntax and parameters
One argument, one required.
- valueanyRequired
The value that you want tested. The value argument can be a blank (empty cell), error, logical value, text, number, or reference value, or a name referring to any of these.
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 Google Sheets
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 Excel gets this done.
- CELLReturns information about the formatting, location, or contents of a cellThis function is not available in Excel for the web.InfoGoogle Sheets
- ERROR.TYPEReturns a number corresponding to an error typeInfoGoogle Sheets
- INFOReturns information about the current operating environmentThis function is not available in Excel for the web.InfoNo Google Sheets equivalent
- ISBLANKReturns TRUE if the value is blankInfoGoogle Sheets
- ISERRReturns TRUE if the value is any error value except #N/AInfoGoogle Sheets
- ISEVENReturns TRUE if the number is evenInfoGoogle Sheets