horizonflame

Board Regular
Joined
Sep 27, 2018
Messages
184
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

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
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,213,532
Messages
6,114,177
Members
448,554
Latest member
Gleisner2

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