Geek Girl 007
Board Regular
- Joined
- Mar 12, 2022
- Messages
- 152
- Office Version
- 2021
- Platform
- Windows
Hi all,
I have created a specific Leave Sheet, it includes cells for an 11 hour day that equals 1 day, a public holiday that equals 1 day and the opportunity for ad-hoc leave, this is what I've done, however I know I miscalculated and I know the format cells are all wrong, any advice would be appreciated.
I have created a specific Leave Sheet, it includes cells for an 11 hour day that equals 1 day, a public holiday that equals 1 day and the opportunity for ad-hoc leave, this is what I've done, however I know I miscalculated and I know the format cells are all wrong, any advice would be appreciated.
TIMESHEET-KIM PIPER.xlsx | |||||||||
---|---|---|---|---|---|---|---|---|---|
D | E | F | G | H | I | J | |||
43 | LEAVE | PUBLIC HOLIDAY | |||||||
44 | W/C | ||||||||
45 | 05/12/2022 | Hrs : Mins | Leave Days | Leave hrs | Hrs : Mins | Days | SELECT | ||
46 | Monday | 0.0 | 2 | 7:24 | 1.0 | PH | |||
47 | Tuesday | 11:00 | 1.0 | ||||||
48 | Wednesday | 11:00 | 1.0 | ||||||
49 | Thursday | 0.0 | |||||||
50 | Friday | 0.0 | |||||||
51 | |||||||||
52 | 22:00 | 2.0 | 7:24 | 1.0 | |||||
53 | |||||||||
54 | Totals | ||||||||
55 | Yearly Rollover AL (if appropriate) | 271 | 41 | ||||||
56 | Hrs : Mins | Days | |||||||
57 | Previous AL | 271 | 41 | ||||||
58 | Sub Total | 3.23 | 3 | ||||||
59 | Total | 268 | 38 | ||||||
1 (3) |
Cell Formulas | ||
---|---|---|
Range | Formula | |
H46 | H46 | =IF(OR(J46={"PH"}),TIME(7,24,0),"") |
I46:I50 | I46 | =IFERROR(CEILING(H46*24/10,0.5), "") |
H47 | H47 | =IF(OR(J47={"PH","no"}),TIME(7,24,0),"") |
H48:H50 | H48 | =IF(OR(J48={"PH","Sick","Covid"}),TIME(7,24,0),"") |
F46:F50 | F46 | =CEILING(E46*20/10,0.5) |
E52:F52,H52:I52 | E52 | =SUM(E46:E50) |
G57 | G57 | =I55 |
I57 | I57 | =J55 |
G58 | G58 | =E52+F52+H52 |
I58 | I58 | =F19+I19+F30+I30+F41+I41+F52+I52 |
G59,I59 | G59 | =G57-G58 |
Cells with Conditional Formatting | ||||
---|---|---|---|---|
Cell | Condition | Cell Format | Stop If True | |
G57:J59 | Cell Value | =0 | text | NO |
J46:J50 | Cell Value | =0 | text | NO |
H52 | Cell Value | =0 | text | NO |
H52 | Expression | =#REF!="Covid" | text | NO |
H52 | Expression | =#REF!="Sick" | text | NO |
H52 | Expression | =#REF!="Toil" | text | NO |
H52 | Expression | =#REF!="PH" | text | NO |
I52 | Cell Value | =0 | text | NO |
I52 | Expression | =#REF!="Covid" | text | NO |
I52 | Expression | =#REF!="Sick" | text | NO |
I52 | Expression | =#REF!="Toil" | text | NO |
I52 | Expression | =#REF!="PH" | text | NO |
F46:F50 | Cell Value | =0 | text | NO |
E52:F52 | Cell Value | =0 | text | NO |
E52:F52 | Expression | =#REF!="Covid" | text | NO |
E52:F52 | Expression | =#REF!="Sick" | text | NO |
E52:F52 | Expression | =#REF!="Toil" | text | NO |
E52:F52 | Expression | =#REF!="PH" | text | NO |
D52 | Cell Value | contains "Excess Hours" | text | NO |
Cells with Data Validation | ||
---|---|---|
Cell | Allow | Criteria |
E46:E50 | List | =$N$19 |
J46:J50 | List | =$N$10:$N$11 |