Countifs Multiple Criteria

Robot1

New Member
Joined
May 19, 2021
Messages
10
Office Version
  1. 365
Platform
  1. Windows
I have searched and searched and all answers do not seem to work. I am trying to count how many instances of a name and a job happen during a date range. I can count for my entire sheet but when I try to add the date range, i return a 0 each time.

My original formula is
=COUNTIFS(Hotlist!$N$2:$N$3000,B$6,Hotlist!$M$2:$M$3000,$A7)
Where N column range is Name ref in B6
Where M column range is Job ref in A7

I want to only find Name and Job in date range 2/1/2024 - 2/29/2024
I can do this by separating my data to individual month tabs but would prefer not.
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Something like (I do not know where you you have your dates):

Excel Formula:
=COUNTIFS(Hotlist!$N$2:$N$3000,B$6,Hotlist!$M$2:$M$3000,$A7,Hotlist!$O$2:$O$3000,">="&C8,Hotlist!$O$2:$O$3000,"<="&C9)

where Hotlist!$O$2:$O$3000 represents the column with dates, and C8 and C9 stand for 2/1/2024 and 2/29/2024.
 
Upvote 0
Thanks @hagia_sofia - I had that formula but had the date reference in the front. Then I didn't think it was working as I was getting no data. Well, I was looking at the wrong column. Time to start he weekend.
 
Upvote 0
Have a new problem with the same formula. It is not counting the same data for the same day. I have three criteria that are all the same but it is only counting it an 1 instance.
4/4/2024 - Jim - CHR
4/4/2024 - Jim - CHR
4/4/2024 - Jim - CHR
 
Upvote 0

Forum statistics

Threads
1,223,885
Messages
6,175,183
Members
452,615
Latest member
bogeys2birdies

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