count number of times criteria is met

paulsolar

Well-known Member
Joined
Aug 21, 2013
Messages
691
Office Version
  1. 365
Hi All

I've been on this problem for a while and am unable to come up with an answer for myself.

i have two columns both of which contain text columns C & D

what I'm attempting to do count the number of times that the criteria i set are in the same row.

for example if in column C the criteria is Joe Smith and in column D the criteria is Jan-2019 (this is text not a date) then i need to count the number of times these are in the same row.

I don't mind a vba of formulaic solution. I have run out of ideas now and i think it may be something simple but i just cant see it

Thanks in advance

cheers

Paul
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
thanks Joe, you are a star

I cant believe it, I tried what you suggested earlier but got the ranges wrong. As soon as I saw your reply the penny dropped :eeek:

final formula =COUNTIFS($C$2:$C$7889,K2,$D$2:$D$7889,$L$1) which is in copied down from L2

column K has 2000+ rows as well

Many thanks for your assistance

cheers

Paul
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,248
Members
452,623
Latest member
cliftonhandyman

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