COUNTIFS for 2 criteria

VPLUMWOOD

New Member
Joined
Jul 13, 2021
Messages
41
Office Version
  1. 365
I am trying to count how many times something appears in a range of multiple columns,

So the below is counting how many times the criteria in SummaryAll U2 appears - which is 8 and correct, but I need it to also count if criteria in SummaryAll E2 also appears?

Is this doable?


=COUNTIFS('Data From Arbor'!$K$2:$K$5000,'Summary All'!U2,'Data From Arbor'!$AG$2:$AG$5000,'Summary All'!U2,'Data From Arbor'!$AM$2:$AM$5000,'Summary All'!U2,'Data From Arbor'!$AO$2:$AO$5000,'Summary All'!U2,'Data From Arbor'!$M$2:$M$5000,'Summary All'!U2,'Data From Arbor'!$AI$2:$AI$5000,'Summary All'!U2,'Data From Arbor'!$AA$2:$AA$5000,'Summary All'!U2,'Data From Arbor'!$AC$2:$AC$5000,'Summary All'!U2,'Data From Arbor'!$AK$2:$AK$5000,'Summary All'!U2,'Data From Arbor'!$O$2:$O$5000,'Summary All'!U2,'Data From Arbor'!$Q$2:$Q$5000,'Summary All'!U2,'Data From Arbor'!$S$2:$S$5000,'Summary All'!U2)
 
Can you include row and column numbers in both pictures, but second one in particular. Which cell is E2 and U2?

Ideally if you could post a subset of these data (suitably anonymised) using XL2BB then we could derive a solution without having to set it all up from scratch.

Thanks
I've added - sorry for the delay, I was on Annual Leave.
 
Upvote 0

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.

Forum statistics

Threads
1,223,889
Messages
6,175,226
Members
452,620
Latest member
dsubash

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