---
title: "ISERROR function in Excel: syntax and examples | PracticeExcel"
description: "How to use ISERROR in Excel and Google Sheets: test a formula for any error, count errors and choose between ISERROR and IFERROR."
canonical_url: "https://practiceexcelonline.com/functions/iserror"
locale: en
meta:
  "og:description": "How to use ISERROR in Excel and Google Sheets: test a formula for any error, count errors and choose between ISERROR and IFERROR."
  "og:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~SVNFUlJPUiBmdW5jdGlvbiBpbiBFeGNlbDogc3ludGF4IGFuZCBleGFtcGxlcw%2Cdescription_~SG93IHRvIHVzZSBJU0VSUk9SIGluIEV4Y2VsIGFuZCBHb29nbGUgU2hlZXRzOiB0ZXN0IGEgZm9ybXVsYSBmb3IgYW55IGVycm9yLCBjb3VudCBlcnJvcnMgYW5kIGNob29zZSBiZXR3ZWVuIElTRVJST1IgYW5kIElGRVJST1Iu%2Ceyebrow_Excel%2Bfunctions%2Csite_practiceexcel%2Ccode_ISERROR(value)%2Cp_Ii9mdW5jdGlvbnMvaXNlcnJvciI%2Cs_Iu0Jgr8z9CC3Lcde.png"
  "og:image:height": "600"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "ISERROR function in Excel: syntax and examples | PracticeExcel"
  "twitter:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~SVNFUlJPUiBmdW5jdGlvbiBpbiBFeGNlbDogc3ludGF4IGFuZCBleGFtcGxlcw%2Cdescription_~SG93IHRvIHVzZSBJU0VSUk9SIGluIEV4Y2VsIGFuZCBHb29nbGUgU2hlZXRzOiB0ZXN0IGEgZm9ybXVsYSBmb3IgYW55IGVycm9yLCBjb3VudCBlcnJvcnMgYW5kIGNob29zZSBiZXR3ZWVuIElTRVJST1IgYW5kIElGRVJST1Iu%2Ceyebrow_Excel%2Bfunctions%2Csite_practiceexcel%2Ccode_ISERROR(value)%2Cp_Ii9mdW5jdGlvbnMvaXNlcnJvciI%2Cs_Iu0Jgr8z9CC3Lcde.png"
---

> Index of every page on this site: [llms.txt](https://practiceexcelonline.com/llms.txt)

# **The ISERROR function**

Returns TRUE if a value is any error, such as

=

ISERROR(

## **Syntax**

```
ISERROR(value)
```

<dl><dt>**value **</dt>
<dd>The cell, value or formula to check.</dd></dl>

## **Examples**

E1=ISERROR(B2/C2)

|  | A | B | C | D | E |
| --- | --- | --- | --- | --- | --- |
| 1 | Region | Sales | Visits |  | **TRUE** |
| 2 | North | 500 | 0 |  | |
| 3 | South | 300 | 60 |  | |

E1=IF(ISERROR(B3/C3),0,B3/C3)

|  | A | B | C | D | E |
| --- | --- | --- | --- | --- | --- |
| 1 | Region | Sales | Visits |  | **5** |
| 2 | North | 500 | 0 |  | |
| 3 | South | 300 | 60 |  | |

E1=ISERROR(MATCH("West",A2:A3,0))

|  | A | B | C | D | E |
| --- | --- | --- | --- | --- | --- |
| 1 | Region | Sales | Visits |  | **TRUE** |
| 2 | North | 500 | 0 |  | |
| 3 | South | 300 | 60 |  | |

## **Questions**

<details>

<summary>

### Should I use ISERROR or IFERROR?

</summary>

To replace an error with another value, IFERROR is shorter, since =IFERROR(B2/C2,0) does what IF and ISERROR do in two steps. Use ISERROR when you only need TRUE or FALSE, for example in conditional formatting.

</details>

<details>

<summary>

### Does ISERROR catch

</summary>

Yes, it catches every error. ISNA catches only

</details>

## **Related functions**

- [**IFERROR**](https://practiceexcelonline.com/functions/iferror)
- [**ISNA**](https://practiceexcelonline.com/functions/isna)
- [**IF**](https://practiceexcelonline.com/functions/if)

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://practiceexcelonline.com/#identity","@type":"Organization","name":"PracticeExcel","url":"https://practiceexcelonline.com/","logo":{"@id":"https://practiceexcelonline.com/#logo"}},{"@id":"https://practiceexcelonline.com/#website","@type":"WebSite","inLanguage":"en-US","name":"PracticeExcel","url":"https://practiceexcelonline.com/","alternateName":["Practice Excel Online","PracticeExcelOnline.com"],"publisher":{"@id":"https://practiceexcelonline.com/#identity"},"workTranslation":{"@id":"https://excelopgaver.dk/#website"}},{"@id":"https://practiceexcelonline.com/functions/iserror#webpage","description":"How to use ISERROR in Excel and Google Sheets: test a formula for any error, count errors and choose between ISERROR and IFERROR.","name":"ISERROR function in Excel: syntax and examples","url":"https://practiceexcelonline.com/functions/iserror","@type":["WebPage","FAQPage"],"breadcrumb":{"@id":"https://practiceexcelonline.com/functions/iserror#breadcrumb"},"isPartOf":{"@id":"https://practiceexcelonline.com/#website"},"mainEntity":[{"@id":"https://practiceexcelonline.com/functions/iserror#/schema/question/1"},{"@id":"https://practiceexcelonline.com/functions/iserror#/schema/question/2"}],"potentialAction":[{"@type":"ReadAction","target":["https://practiceexcelonline.com/functions/iserror"]}],"primaryImageOfPage":{"@id":"https://practiceexcelonline.com/#logo"}},{"@id":"https://practiceexcelonline.com/functions/iserror#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://practiceexcelonline.com","position":1},{"@type":"ListItem","name":"Excel functions","item":"https://practiceexcelonline.com/functions","position":2},{"@type":"ListItem","name":"ISERROR function in Excel: syntax and examples","position":3}]},{"@id":"https://practiceexcelonline.com/functions/iserror#article","description":"How to use ISERROR in Excel and Google Sheets: test a formula for any error, count errors and choose between ISERROR and IFERROR.","headline":"ISERROR function in Excel: syntax and examples","inLanguage":"en-US","thumbnailUrl":"https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~SVNFUlJPUiBmdW5jdGlvbiBpbiBFeGNlbDogc3ludGF4IGFuZCBleGFtcGxlcw%2Cdescription_~SG93IHRvIHVzZSBJU0VSUk9SIGluIEV4Y2VsIGFuZCBHb29nbGUgU2hlZXRzOiB0ZXN0IGEgZm9ybXVsYSBmb3IgYW55IGVycm9yLCBjb3VudCBlcnJvcnMgYW5kIGNob29zZSBiZXR3ZWVuIElTRVJST1IgYW5kIElGRVJST1Iu%2Ceyebrow_Excel%2Bfunctions%2Csite_practiceexcel%2Ccode_ISERROR(value)%2Cp_Ii9mdW5jdGlvbnMvaXNlcnJvciI%2Cs_Iu0Jgr8z9CC3Lcde.png","@type":["Article","TechArticle"],"author":{"@id":"https://practiceexcelonline.com/#identity"},"image":{"@id":"https://practiceexcelonline.com/#/schema/image/1"},"isPartOf":{"@id":"https://practiceexcelonline.com/functions/iserror#webpage"},"mainEntityOfPage":{"@id":"https://practiceexcelonline.com/functions/iserror#webpage"},"publisher":{"@id":"https://practiceexcelonline.com/#identity"}},{"@id":"https://practiceexcelonline.com/functions/iserror#/schema/question/1","@type":"Question","inLanguage":"en-US","name":"Should I use ISERROR or IFERROR?","acceptedAnswer":{"@type":"Answer","text":"To replace an error with another value, IFERROR is shorter, since =IFERROR(B2/C2,0) does what IF and ISERROR do in two steps. Use ISERROR when you only need TRUE or FALSE, for example in conditional formatting."}},{"@id":"https://practiceexcelonline.com/functions/iserror#/schema/question/2","@type":"Question","inLanguage":"en-US","name":"Does ISERROR catch","acceptedAnswer":{"@type":"Answer","text":"Yes, it catches every error. ISNA catches only"}},{"@id":"https://practiceexcelonline.com/#logo","@type":"ImageObject","caption":"PracticeExcel","contentUrl":"https://practiceexcelonline.com/brand/practiceexcel/icon-512.png","inLanguage":"en-US","url":"https://practiceexcelonline.com/brand/practiceexcel/icon-512.png"},{"@id":"https://practiceexcelonline.com/#/schema/image/1","@type":"ImageObject","contentUrl":"https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~SVNFUlJPUiBmdW5jdGlvbiBpbiBFeGNlbDogc3ludGF4IGFuZCBleGFtcGxlcw%2Cdescription_~SG93IHRvIHVzZSBJU0VSUk9SIGluIEV4Y2VsIGFuZCBHb29nbGUgU2hlZXRzOiB0ZXN0IGEgZm9ybXVsYSBmb3IgYW55IGVycm9yLCBjb3VudCBlcnJvcnMgYW5kIGNob29zZSBiZXR3ZWVuIElTRVJST1IgYW5kIElGRVJST1Iu%2Ceyebrow_Excel%2Bfunctions%2Csite_practiceexcel%2Ccode_ISERROR(value)%2Cp_Ii9mdW5jdGlvbnMvaXNlcnJvciI%2Cs_Iu0Jgr8z9CC3Lcde.png","inLanguage":"en-US","url":"https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_~SVNFUlJPUiBmdW5jdGlvbiBpbiBFeGNlbDogc3ludGF4IGFuZCBleGFtcGxlcw%2Cdescription_~SG93IHRvIHVzZSBJU0VSUk9SIGluIEV4Y2VsIGFuZCBHb29nbGUgU2hlZXRzOiB0ZXN0IGEgZm9ybXVsYSBmb3IgYW55IGVycm9yLCBjb3VudCBlcnJvcnMgYW5kIGNob29zZSBiZXR3ZWVuIElTRVJST1IgYW5kIElGRVJST1Iu%2Ceyebrow_Excel%2Bfunctions%2Csite_practiceexcel%2Ccode_ISERROR(value)%2Cp_Ii9mdW5jdGlvbnMvaXNlcnJvciI%2Cs_Iu0Jgr8z9CC3Lcde.png"}]}
```

## Sitemap

See the full [sitemap](https://practiceexcelonline.com/sitemap.md) for all pages.
