Counting Saturdays & Sundays for specific staff members given a wide range of dates

pransford

New Member
Joined
Apr 24, 2020
Messages
3
Office Version
  1. 365
Platform
  1. Windows
I work for a event venue. I assign staff members events and I want to count the number of events each one has, and then I want to calculate the how many weekends they might have to work during the same given time frame. I have attached a crude spreadsheet I have started and tried working on, but I am getting lost and going down the rabbit hole, I'm falling behind on my other work.
I hope I did this right...


Event Manager event load worksheet.xlsx
ABCDEFGHIJKLMNOP
1Events Event Dates # Halls DomeEvent Manager Back up
2General Assembly of God 1/5/20211/10/20216yElizabeth
3Capitol Sports 2/3/20212/16/20216ySarahEvent Manager # events Weekends
4Haunt Show 3/1/20213/8/20215ElizabethMcKinna552
5American Bridge League3/19/20213/21/20210AlexMichael4
6Capitol Sports MEQ3/23/20213/29/20216ySarahEmily3
7Dot Foods4/5/20214/9/20213ElizabethElizabeth5
8NAYDO4/13/20214/17/20211SarahSarah9
9Legal Shield 4/13/20214/18/20214yMcKinnaAlex5
10DSCOOP4/14/20214/24/20212Michael
11Population Association of America 5/3/20216/5/20215Alex
12Inland Marine Expo 5/22/20215/2/20212Sarah
13COGIC Women 5/27/20216/5/20215McKinna
14Wizard World6/9/20216/13/20212yMichael
15Presbyterian Church General Assembly6/28/20217/2/20212Sarah
16Beachbody7/5/20217/20/20216yMcKinna
17Younique 7/24/20218/1/20216yEmily
18Presbyterian Women 8/4/20218/8/20210Sarah
19American Public Works 8/25/20219/1/20215Sarah
202021 GEAR 9/8/20219/18/20216yElizabeth
21TAPPI9/25/20219/30/20212Alex
22LTD Summit9/29/202110/3/20211yEmily
23Stifel 10/3/202110/9/20213Elizabeth
24Sweet Adeline's ##################3Michael
25Jucie+ ##################5Sarah
26Bands of America ##################1yEmily
27SMRP##################1Alex
28SuperComputing 202111/8/2021#########6yMcKinna
29Gateway Dirt Nationals #########12/6/20216yMichael
30Intervarsity URBANA 2021 #########1/4/20226yMcKinna
31Monster Jam 2yMcKinna
32Auto Show 6y Sarah
33RV Show 4Alex
34Home Show 4Emily
Event Manager Work Load Data
Cell Formulas
RangeFormula
K4K4=SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(B2&":"&C30)))=T24))
J4:J9J4=COUNTIFS($F$2:$F$34,I4)
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Try creating a (hidden) helper column (say, column X) and populating it starting from cell X2 with the following formula:

=IF(COUNT(B2,C2)=2,NETWORKDAYS.INTL(B2,C2,"1111100"),0)

Then, you can count weekends like this:

=SUMIFS($X$2:$X$34,$F$2:$F$34,I4)
 
Upvote 0

Forum statistics

Threads
1,215,819
Messages
6,127,045
Members
449,356
Latest member
tstapleton67

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