Combined Count assistance

Mystic484

New Member
Joined
Sep 13, 2011
Messages
4
I understand that countIF can be used to set a criteria based on a value, and countBlank can be used to count the blank cells. What I've been unable to do is combine these functions. I am looking for a function to determine if cell A contains 1 of 3 values AND B is blank, then it will count all the blank cells in that range. I've tried sumProduct, but something I'm doing isn't returning the correct information cause it always returns 0 when i have several thousand empty rows in my range.

Based on my example below it would return 2, since row 9 and 10 have no data.

Col. A Col. B
1 John Cat
2 June Cat
3 Cat
4 John Dog
5 June Dog
6 Carlos Dog
7 Dog
8 Carlos Hamster
9
10
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
perhaps:
Excel Workbook
ABC
30JohnCat1
31JuneCat
32Cat
33JohnDog
34JuneDog
35CarlosDog
36Dog
37CarlosHamster
Sheet24
 
Upvote 0
This explained why my sumproduct function didn't work, but it doesn't take into account empty rows. The data that I'm pulling from is highly variable and I'm trying to avoid having to modify the formula every time the source changes.
 
Upvote 0
Nevermind this did exactly what I was looking for. It didn't appear like it did when i made the statement but it worked correctly in the large scale.
 
Upvote 0

Forum statistics

Threads
1,224,574
Messages
6,179,626
Members
452,933
Latest member
patv

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