Need to count data for specific week of month

RumCakes

New Member
Joined
Mar 20, 2025
Messages
1
Office Version
  1. 2019
Platform
  1. Windows
Hope I explain this right, I'm just kind of fumbling my way through excel...
I track all the data that my team sends to their Leads. This is to assist our Leadership team to determine what topics we need to either have issues with or need better documentation in. Right now I can get excel to populate all the data for the complete year or for a specific month. But I now need to have it populate for the specific week of a month.

What my end goal is, is to select "March" for the month then "1st week" and it populates all the data from the March sheet from 3/2-3/8. Then select "2nd week" and it populates data for that. But to work for EACH month.
So if Month = January, and Week = 1st, then show data for first week... if I change the Month from January to April, leaving the week = 1st... then it would show the data from March 30th - April 5th.

Right now I have a very stupid long embarrassing IF statement to pull the data for the whole month. I don't understand/comprehend the Weeknum command or the ISOWeek command, and haven't found anything helpful.
My formulate currently is:
IF(D3="Jan",COUNTIF(Jan!:D:D,C22),IF(D3="Feb",COUNTIF(Feb!D:D,C22),etc,etc,etc.

What I think I'm looking for is:
IF(D3="Jan"AND(D4="1st Week"),COUNTIFS(Jan!A:A,WEEKNUM?????????,Jan!D:D,C22)

A:A=Date Column
D:D=Analyst
C22=Analyst


I know, I am making myself look stupid, but any help would be grateful.
 
Is this help you?

=IF(D3="Jan" AND D4="1st Week", COUNTIFS(Jan!A:A, WEEKNUM(Jan!A:A)=1, Jan!D:D, C22),
 
Upvote 0

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