Hi all,
I am looking to calculate total pay for shifts which start and end on different days, with some days having different pay rates to others.
EG: shift start is 22:00 Friday, Shift end is 02:00 Saturday. Friday rate is x, saturday rate is y. So needs to calculate 2hrs at x and 2hrs at y to give total pay.
I have sheet one set up for start and end time input, with dates (and days) loaded from event info at the top.
Currrenly the 'Cost' column is pulling from a single base rate in sheet 2.
Sheet 2 contains the varying pay rates depending on role and day.
Any help being able to split the input of pay rates based on how long the shift lasts on the various days would be much appreciated!
Thanks
I am looking to calculate total pay for shifts which start and end on different days, with some days having different pay rates to others.
EG: shift start is 22:00 Friday, Shift end is 02:00 Saturday. Friday rate is x, saturday rate is y. So needs to calculate 2hrs at x and 2hrs at y to give total pay.
I have sheet one set up for start and end time input, with dates (and days) loaded from event info at the top.
Currrenly the 'Cost' column is pulling from a single base rate in sheet 2.
Sheet 2 contains the varying pay rates depending on role and day.
Any help being able to split the input of pay rates based on how long the shift lasts on the various days would be much appreciated!
Thanks
Costs - Working version.xlsx | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | |||
1 | Date | Friday, 16 April 2021 | |||||||||||
2 | Event | ||||||||||||
3 | Corporate Gates | 18:15 | |||||||||||
4 | Public Gates | 18:40 | |||||||||||
5 | Kick Off | 19:55 | |||||||||||
6 | Crowd Size | 10,001,15,000 | |||||||||||
7 | Zones Active | 6 Zones | |||||||||||
8 | |||||||||||||
9 | Role | No. Staff | Day | Date | Start | End | Shift Hours | Break | Hours Engaged | Cost | |||
10 | Pre Clean 1 | 1 | Friday | 16/04/2021 | 10:00 | 19:00 | 9:00 | 0:30 | 8:30 | $304.90 | |||
11 | Pre Clean 2 | 0 | Friday | 16/04/2021 | 10:00 | 14:00 | 4:00 | 0:00 | 0:00 | $0.00 | |||
12 | Event Supervisor | 1 | Friday | 16/04/2021 | 13:00 | 23:00 | 10:00 | 0:30 | 9:30 | $340.77 | |||
13 | Event Staff 1 | 6 | Friday | 16/04/2021 | 17:45 | 22:45 | 5:00 | 0:00 | 6:00 | $1,076.10 | |||
14 | Event Staff 2 | 0 | Friday | 16/04/2021 | 18:45 | 22:45 | 4:00 | 0:00 | 0:00 | $0.00 | |||
15 | HTP | 10 | Friday | 16/04/2021 | 18:45 | 22:45 | 4:00 | 0:00 | 16:00 | $1,434.80 | |||
16 | Post Supervisor | 1 | Friday | 16/04/2021 | 22:30 | 3:30 | 5:00 | 0:00 | 5:00 | $179.35 | |||
17 | Post Staff | 40 | Friday | 16/04/2021 | 23:30 | 3:30 | 4:00 | 0:00 | 16:00 | $5,739.20 | |||
18 | Total Cost | $9,075.11 | |||||||||||
19 | Charge Out | $11,813.05 | |||||||||||
20 | P/L | $2,737.94 | |||||||||||
21 | |||||||||||||
Sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
C10:C17 | C10 | =TEXT($B$1,"dddd") |
D10:D17 | D10 | =$B$1 |
G10:G17 | G10 | =IF(F10<E10,F10+1,F10)-E10 |
H10:H17 | H10 | =IF(G10>TIME(5,0,0),TIME(0,30,0),TIME(0,0,0)) |
I10:I17 | I10 | =B10*G10-(H10*B10) |
J10:J11 | J10 | =(I10*24)*Sheet2!I3 |
J12 | J12 | =(I12*24)*Sheet2!I7 |
J13:J14,J16 | J13 | =(I13*24)*Sheet2!I3 |
J15 | J15 | =(I15*24)*Sheet2!I2 |
J17 | J17 | =(I17*24)*Sheet2!I5 |
J18 | J18 | =SUM(J10:J17) |
J19 | J19 | =SUMPRODUCT((B6=Sheet2!A24:A30)*(B7=Sheet2!B23:D23)*Sheet2!B24:D30) |
J20 | J20 | =J19-J18 |
Cells with Conditional Formatting | ||||
---|---|---|---|---|
Cell | Condition | Cell Format | Stop If True | |
J14 | Cell Value | <1 | text | NO |
J10:J17 | Cell Value | <1 | text | NO |
J20 | Cell Value | <1 | text | NO |
J20 | Cell Value | >0 | text | NO |
Cells with Data Validation | ||
---|---|---|
Cell | Allow | Criteria |
B6:D6 | List | =Crowd |
B7:D7 | List | =Zones |
Costs - Working version.xlsx | |||||||||
---|---|---|---|---|---|---|---|---|---|
G | H | I | J | K | L | M | |||
1 | Base Rates | Saturday Rate | Sunday Rate | PH Rate | |||||
2 | HTP Per hour | $ 35.87 | $ 53.80 | $ 71.74 | $ 89.68 | ||||
3 | Event Staff Per Hour | $ 35.87 | $ 53.80 | $ 71.74 | $ 89.68 | ||||
4 | Pre Clean Per Hour | $ 35.87 | $ 53.80 | $ 71.74 | $ 89.68 | ||||
5 | Post Per Hour | $ 35.87 | $ 53.80 | $ 71.74 | $ 89.68 | ||||
6 | Post Sup Per Hour | $ 35.87 | $ 53.80 | $ 71.74 | $ 89.68 | ||||
7 | Event Sup Per Hour | $ 35.87 | $ 53.80 | $ 71.74 | $ 89.68 | ||||
8 | |||||||||
Sheet2 |
Cells with Data Validation | ||
---|---|---|
Cell | Allow | Criteria |
K1 | List | =Crowd |