ISERR with COUNTIFS

horizonflame

Board Regular
Joined
Sep 27, 2018
Messages
186
Office Version
  1. 2013
Hi All

I have:

=SUMPRODUCT(--ISERROR(Dates!F6:F7000)
&
=COUNTIF(Dates!F6:F7000,"Car"

Can they be combined in one countifs expression at all?

Many thanks
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
What is it that you are actually trying to do?
Count the "Car" entries"
Exatly what kind of errors do you have in this list?
Do you know what is causing them (formulas, etc)?
 
Upvote 0
Hi Joe4,
I am looking to count the number of #VALUE errors in Column F, that have "Car" in Column C. The errors are expected because a date hasn't been inputted in another sheet, and I want to count the number of missing dates.
 
Upvote 0
Can you update your formulas in column F to account for the error, and return something else instead, like ""?
That would be easier to work with than errors.
 
Upvote 0
=SUMPRODUCT(--ISERROR(Dates!F6:F7000),--(Dates!C6:C7000="Car" ))
That should work.

I guess it is just my own personal preference that I really do not like errors showing up on my report (makes people question the validity of the report/data).
So I would probably use an IFERROR formula in Dates!F6:F7000 to return a blank instead of an error, i.e.
Code:
=IFERROR(current formula,"")
Then, the SUMRPODUCT would look like:
Code:
[COLOR=#333333]=SUMPRODUCT(--(Dates!F6:F7000=""),--(Dates!C6:C7000="Car" ))[/COLOR]
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top