Countif based on multiple criteria in multiple columns

BungleNZ

Board Regular
Joined
Sep 9, 2008
Messages
220
Hi

I'm struggling to get a countif formula working in a spreadsheet. With the example sheet I've posted, I'm trying for each "Bowler", I am trying to count, for example, how many times 0 runs are scored for the ball.

Any help anyone could provide would be much appreciated.

Thanks

Jamie
Excel Workbook
GHIJKLMNOPQ
45BowlerRuns
46Chris L10101
47Chris L-513
48Trav22
49Trav5032
50Miles11
51Miles1-50-50
52Dean203
53Dean-50-5
54Pidge212
55Pidge-522
56Ryan03-51
57Ryan112
58John11
59John0010
60Dingo2013
61Dingo1121
RD 1 - Game 1
Excel 2007
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
You could use a helper column say in column I with formulas like this:

In i46

=countif(J46:R46,"=0")

And a formula to count your totals like this:

= =SUMPRODUCT(--(H46:H61="Trav"),I46:I61)
 
Upvote 0
Hi Jamie,

I'm not sure to understand, but try inserting in P46 the forrmula


=IF(G46=G47,COUNTIF(H46:O47,0),"")

and copy down.

Hope this helps.

Regards.
 
Upvote 0

Forum statistics

Threads
1,224,540
Messages
6,179,417
Members
452,912
Latest member
alicemil

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