Vacation Time Allocation

polska2180

Active Member
Joined
Oct 1, 2004
Messages
384
Office Version
  1. 365
Hi, I'm trying to create a calendar with a PTO allowance per day per week based on the number of weeks we have to cover. The difficulty is that I want to be able to flex any one day/week/month to increase or decrease once the distribution of days is figured out and then recalculate the remaining days evenly through the rest of the year. So let's say on average I need to have 9.6 people off per day per week to cover all the PTO (always round so basically 10.) Now during the months of June and July, I want to increase to 12 people per day per week, and in Feb during one week, I want to decrease to 5 people off per day per week. Once I make that adjustment I would want all the other days that are not changed to be recalculated to ensure that I have enough allowance to cover the remaining time off so in the example that now may be 8.3 people and it would round up to 9. Below is where I got to and I'm getting into circular equations and just not getting to what I need. Thanks for the help. My layout may not be the best and I'm not stuck to it so if there is a better way to do this I'm game. All I need to have is to be able to put in the variables and make specific adjustments during any particular day/week/month.

PTO Allocation Calculator.xlsx
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAFAGAHAIAJAKALAMANAOAPAQARASATAUAVAWAXAY
1Total Employees100HC AdjDayDatePTO HC w/o adjPTO HC HC AdjDayDatePTO HC w/o adjPTO HC HC AdjDayDatePTO HC w/o adjPTO HC HC AdjDayDatePTO HC w/o adjPTO HC HC AdjDayDatePTO HC w/o adjPTO HC HC AdjDayDatePTO HC w/o adjPTO HC HC AdjDayDatePTO HC w/o adjPTO HC HC AdjDayDatePTO HC w/o adjPTO HC HC AdjDayDatePTO HC w/o adjPTO HC
2Number of Days per week5`Mon1/2/20235.86`Mon2/13/20235.86Mon3/27/20235.86Mon5/8/20235.86Mon6/19/20235.86Mon7/31/20235.86Mon9/11/20235.86Mon10/23/20235.86Mon12/4/20235.86
3Number of Weeks52223.0769Tue1/3/20235.86Tue2/14/20235.86Tue3/28/20235.86Tue5/9/20235.86Tue6/20/20235.86Tue8/1/20235.86Tue9/12/20235.86Tue10/24/20235.86Tue12/5/20235.86
4Number of Work Days / Yr26044.61538Wed1/4/20235.86Wed2/15/20235.86Wed3/29/20235.86Wed5/10/20235.86Wed6/21/20235.86Wed8/2/20235.86Wed9/13/20235.86Wed10/25/20235.86Wed12/6/20235.86
5Hours per day8Thu1/5/20235.86Thu2/16/20235.86Thu3/30/20235.86Thu5/11/20235.86Thu6/22/20235.86Thu8/3/20235.86Thu9/14/20235.86Thu10/26/20235.86Thu12/7/20235.86
6Hours per week40Fri1/6/20235.86Fri2/17/20235.86Fri3/31/20235.86Fri5/12/20235.86Fri6/23/20235.86Fri8/4/20235.86Fri9/15/20235.86Fri10/27/20235.86Fri12/8/20235.86
7Start Date1/2/2023Mon1/9/20235.86Mon2/20/20235.86Mon4/3/20235.86Mon5/15/20235.86Mon6/26/20235.86Mon8/7/20235.86Mon9/18/20235.86Mon10/30/20235.86Mon12/11/20235.86
8PTO allowed no rounding5.5769231Tue1/10/20235.86Tue2/21/20235.86Tue4/4/20235.86Tue5/16/20235.86Tue6/27/20235.86Tue8/8/20235.86Tue9/19/20235.86Tue10/31/20235.86Tue12/12/20235.86
9PTO allowed per week6Wed1/11/20235.86Wed2/22/20235.86Wed4/5/20235.86Wed5/17/20235.86Wed6/28/20235.86Wed8/9/20235.86Wed9/20/20235.86Wed11/1/20235.86Wed12/13/20235.86
10Thu1/12/20235.86Thu2/23/20235.86Thu4/6/20235.86Thu5/18/20235.86Thu6/29/20235.86Thu8/10/20235.86Thu9/21/20235.86Thu11/2/20235.86Thu12/14/20235.86
111 Week10400Fri1/13/20235.86Fri2/24/20235.86Fri4/7/20235.86Fri5/19/20235.86Fri6/30/20235.86Fri8/11/20235.86Fri9/22/20235.86Fri11/3/20235.86Fri12/15/20235.86
122 Weeks403200Mon1/16/20235.86Mon2/27/20235.86Mon4/10/20235.86Mon5/22/20235.86Mon7/3/20235.86Mon8/14/20235.86Mon9/25/20235.86Mon11/6/20235.86Mon12/18/20235.86
133 Weeks202400Tue1/17/20235.86Tue2/28/20235.86Tue4/11/20235.86Tue5/23/20235.86Tue7/4/20235.86Tue8/15/20235.86Tue9/26/20235.86Tue11/7/20235.86Tue12/19/20235.86
144 Weeks 101600Wed1/18/20235.86Wed3/1/20235.86Wed4/12/20235.86Wed5/24/20235.86Wed7/5/20235.86Wed8/16/20235.86Wed9/27/20235.86Wed11/8/20235.86Wed12/20/20235.86
155 Weeks204000Thu1/19/20235.86Thu3/2/20235.86Thu4/13/20235.86Thu5/25/20235.86Thu7/6/20235.86Thu8/17/20235.86Thu9/28/20235.86Thu11/9/20235.86Thu12/21/20235.86
166 Weeks0Fri1/20/20235.86Fri3/3/20235.86Fri4/14/20235.86Fri5/26/20235.86Fri7/7/20235.86Fri8/18/20235.86Fri9/29/20235.86Fri11/10/20235.86Fri12/22/20235.86
17Total10011600Mon1/23/20235.86Mon3/6/20235.86Mon4/17/20235.86Mon5/29/20235.86Mon7/10/20235.86Mon8/21/20235.86Mon10/2/20235.86Mon11/13/20235.86Mon12/25/20235.86
18People off per weekTue1/24/20235.86Tue3/7/20235.86Tue4/18/20235.86Tue5/30/20235.86Tue7/11/20235.86Tue8/22/20235.86Tue10/3/20235.86Tue11/14/20235.86Tue12/26/20235.86
19Wed1/25/20235.86Wed3/8/20235.862Wed4/19/20235.86Wed5/31/20235.86Wed7/12/20235.86Wed8/23/20235.86Wed10/4/20235.86Wed11/15/20235.86Wed12/27/20235.86
20Thu1/26/20235.86Thu3/9/20235.862Thu4/20/20235.86Thu6/1/20235.86Thu7/13/20235.86Thu8/24/20235.86Thu10/5/20235.86Thu11/16/20235.86Thu12/28/20235.86
21PTO Pure14505.576923Fri1/27/20235.86Fri3/10/20235.862Fri4/21/20235.86Fri6/2/20235.86Fri7/14/20235.86Fri8/25/20235.86Fri10/6/20235.86Fri11/17/20235.86Fri12/29/20235.86
22PTO Adj13925.3538463Mon1/30/20235.86Mon3/13/20235.862Mon4/24/20235.862Mon6/5/20235.86Mon7/17/20235.86Mon8/28/20235.86Mon10/9/20235.86Mon11/20/20235.86
233Tue1/31/20235.86Tue3/14/20235.862Tue4/25/20235.862Tue6/6/20235.86Tue7/18/20235.86Tue8/29/20235.86Tue10/10/20235.86Tue11/21/20235.86
24Rolled up15603Wed2/1/20235.86Wed3/15/20235.862Wed4/26/20235.862Wed6/7/20235.86Wed7/19/20235.86Wed8/30/20235.86Wed10/11/20235.86Wed11/22/20235.86
25Not allowed583Thu2/2/20235.86Thu3/16/20235.862Thu4/27/20235.862Thu6/8/20235.86Thu7/20/20235.86Thu8/31/20235.86Thu10/12/20235.86Thu11/23/20235.86
2615085.83Fri2/3/20235.86Fri3/17/20235.862Fri4/28/20235.862Fri6/9/20235.86Fri7/21/20235.86Fri9/1/20235.86Fri10/13/20235.86Fri11/24/20235.86
273Mon2/6/20235.86Mon3/20/20235.862Mon5/1/20235.86Mon6/12/20235.86Mon7/24/20235.86Mon9/4/20235.86Mon10/16/20235.86Mon11/27/20235.86
283Tue2/7/20235.86Tue3/21/20235.86Tue5/2/20235.86Tue6/13/20235.86Tue7/25/20235.86Tue9/5/20235.86Tue10/17/20235.86Tue11/28/20235.86
293Wed2/8/20235.86Wed3/22/20235.86Wed5/3/20235.86Wed6/14/20235.86Wed7/26/20235.86Wed9/6/20235.86Wed10/18/20235.86Wed11/29/20235.86
303Thu2/9/20235.86Thu3/23/20235.86Thu5/4/20235.86Thu6/15/20235.86Thu7/27/20235.86Thu9/7/20235.86Thu10/19/20235.86Thu11/30/20235.86
313Fri2/10/20235.86Fri3/24/20235.86Fri5/5/20235.86Fri6/16/20235.86Fri7/28/20235.86Fri9/8/20235.86Fri10/20/20235.86Fri12/1/20235.86
32301741800174180181741801017418001741800174180017418001741800116120
Orig
Cell Formulas
RangeFormula
H2:H31,AV2:AV21,AQ2:AQ31,AL2:AL31,AG2:AG31,AB2:AB31,W2:W31,R2:R31,M2:M31H2=TEXT(I2,"DDd")
I2I2=B7
J2:J31,AX2:AX21,AS2:AS31,AN2:AN31,AI2:AI31,AD2:AD31,Y2:Y31,T2:T31,O2:O31J2=$C$26
K2:K31,AY2:AY21,AT2:AT31,AO2:AO31,AJ2:AJ31,AE2:AE31,Z2:Z31,U2:U31,P2:P31K2=ROUNDUP(J2,0)
L2L2=IF(G2="",ROUNDUP(K2,1),G2)
N2:N6,AW2:AW6,AR2:AR6,AM2:AM6,AH2:AH6,AC2:AC6,X2:X6,S2:S6N2=I27+7
N7:N31,I7:I31,AW7:AW21,AR7:AR31,AM7:AM31,AH7:AH31,AC7:AC31,X7:X31,S7:S31N7=N2+7
I3:I6I3=I2+1
C3:C4C3=$C$17/B3
B8B8=C3/B6
B9B9=ROUNDUP(B8,0)
C11C11=IFERROR(B11*$B$6,"")
C12C12=IFERROR(B12*$B$6*2,"")
C13C13=IFERROR(B13*$B$6*3,"")
C14C14=IFERROR(B14*$B$6*4,"")
C15C15=IFERROR(B15*$B$6*5,"")
C16C16=IFERROR(B16*$B$6*6,"")
B17:C17B17=SUM(B11:B16)
B21B21=B8*B4
C21C21=B21/B4
B22B22=B21-B25
C22C22=B22/B4
B24B24=K32+P32+U32+AE32++AJ32+AO32+AT32+AY32+Z32
B25B25=G32+L32+Q32+V32+AA32+AK32+AP32++AU32+AF32
B26B26=B21+B25
C26C26=B26/B4
G32,AX32:AY32,AS32:AU32,AN32:AP32,AI32:AK32,AD32:AF32,Y32:AA32,T32:V32,O32:Q32,J32:L32G32=SUM(G2:G31)
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.

Forum statistics

Threads
1,215,079
Messages
6,123,009
Members
449,093
Latest member
ikke

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