Get instant live expert help with Excel or Google Sheets
“My Excelchat expert helped me in less than 20 minutes, saving me what would have been 5 hours of work!”

Post your problem and you’ll get expert help in seconds.

Your message must be at least 40 characters
Our professional experts are available now. Your privacy is guaranteed.

How to Count Cells that Contain Errors

Read time: 29 minutes

We can Count Cells that Contain Errors in a range with a formula that combines the SUMPRODUCT and ISERROR functions. The steps below will walk through the process.

Figure 1: How to Count Cells that Contain Errors

General Formula:

=SUMPRODUCT(ISERROR(range)*1)

Formula

=SUMPRODUCT(ISERROR(B4:B11)*1)

Setting up the Data

  • We will set up the data by inputting the DATA into Column B
  • Cell C4 in Column C is where we want the formula to return the result for the number of cells with errors

Figure 2: Setting up the Data

Count Cells that Contain Errors

  • We will click on Cell C4
  • We will insert the formula below into the cell
    =SUMPRODUCT(ISERROR(B4:B11)*1)
  • We will press the enter key

Figure 3: Count of Errors in Range B4:B11

Explanation

The ISERROR function checks the range if they contain errors. The result is returned as an array of TRUE or FALSE.

{FALSE;FALSE;TRUE;TRUE;FALSE;FALSE;TRUE,FALSE}

TRUE represents the cells with errors and is converted to 1 so that the array looks like this: 

{0;0;1;1;0;0;1,0}

The result of this array is then multiplied by 1 and the result is summed and returned as the result by the SUMPRODUCT Function.

Note

We can use the SUM function instead of SUMPRODUCT function. However, we need to enter as an array formula using CTRL + SHIFT + ENTER. The formula is:

=SUM(ISERROR(range)*1)

ISERROR function counts all errors. If you use ISERR function, it will exclude #N/A

Instant Connection to an Expert through our Excelchat Service

Most of the time, the problem you will need to solve will be more complex than a simple application of a formula or function. If you want to save hours of research and frustration, try our live Excelchat service! Our Excel Experts are available 24/7 to answer any Excel question you may have. We guarantee a connection within 30 seconds and a customized solution within 20 minutes.

Did this post not answer your question? Get a solution from connecting with the expert.

Another blog reader asked this question today on Excelchat:
Solution examples
how to make a format that if multiple cells have number contents its value is 1 in the last cell
Solved by C. C. in 28 mins
I need to find out if the 2018 yearly sales goals were met if the yearly sales were $25,000 or more using an IF logical function and to set the formula to return a value of YES if met, and NO if not
Solved by A. A. in 18 mins
I'm looking for a formula or format for if there is data in c4 on a sheet... It adds extra information underneath
Solved by X. E. in 20 mins
ï?·In cell G1enter Discount, ï?·In cell H1enter DiscountPercent,ï?·In cell I1enter DiscountCost,ï?·In cell J1enter TotalCost, andï?·In cell K1enter Paymentas column headings.
Solved by K. E. in 40 mins
How do you get excel to ignore a formula until cell contains a value i.e.(if B1 is 1000, don't subtract C1 from B1 for a sum in C2 (resulting in -1000), until a value is first put in C1. ANOTHER EXAMPLE Don't add the sum of D5 and D6 in D7 if D5 and D6 are blank, preventing D7 (and E7 and G7...) from showing up as 0.00 ). I would like totals to remain blank and not the whole row showing 0.00 until a number is placed to complete the formula
Solved by V. J. in 28 mins

Leave a Comment

avatar

Subscribe to Excelchat.co

Get updates on helpful Excel topics

Subscribe to Excelchat.co

Did this post not answer your question?
Get a solution from connecting with the expert

Another blog reader asked this question today on Excelchat:

Post your problem and you’ll get expert help in seconds.

Your message must be at least 40 characters
Our professional experts are available now. Your privacy is guaranteed.
Trusted by people who work at
Amazon.com, Inc
Facebook, Inc
Accenture PLC
Siemens AG
Macy's
The Allstate Corporation
United Parcel Service
Dell Inc