Payrolltbeinc
New Member
- Joined
- Nov 12, 2021
- Messages
- 5
- Office Version
- 365
- Platform
- Windows
I want to make this monthly PTO sheet as accurate and clean as possible. I want to combine columns K-M. The cap and rate of accrual is set by an employee's years of service. Can you recommend a formula that will calculate the Available balance that includes the maximum value? Thank you.
PTO ACCRUALS_SEPT 2021.xlsx | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
C | D | E | F | G | H | I | J | K | L | M | |||
1 | Anniversary | Current PR | DOH | YOS | Hours Worked | Used PTO | BEGINNING BAL | Accrued | S/B AVAILABLE | CAP | BALANCE | ||
2 | 8/6/2021 | 10/31/2021 | 8/6/2020 | 1.00 | 13.75 | - | 10.450000 | 0.3437500 | 10.793750 | 80.00 | 10.793750 | ||
3 | 6/24/2021 | 10/31/2021 | 6/24/2003 | 18.00 | 160.00 | - | 23.273860 | 9.2320000 | 32.505860 | 240.00 | 32.505860 | ||
4 | 3/6/2021 | 10/31/2021 | 3/6/2018 | 3.00 | 198.75 | - | 116.656071 | 7.6518750 | 124.307946 | 160.00 | 124.307946 | ||
5 | 6/5/2021 | 10/31/2021 | 6/5/2019 | 2.00 | 207.50 | - | 54.469216 | 7.9887500 | 62.457966 | 160.00 | 62.457966 | ||
6 | 4/5/2021 | 10/31/2021 | 4/5/2005 | 16.00 | 207.50 | 160.00 | 240.000000 | 11.9727500 | 91.972750 | 240.00 | 91.972750 | ||
7 | 1/23/2021 | 10/31/2021 | 1/23/2020 | 1.00 | 178.25 | - | 21.943800 | 4.4562500 | 26.400050 | 80.00 | 26.400050 | ||
8 | 4/27/2021 | 10/31/2021 | 4/27/2020 | 1.00 | 184.25 | - | 24.162500 | 4.6062500 | 28.768750 | 80.00 | 28.768750 | ||
9 | 1/30/2021 | 10/31/2021 | 1/30/2018 | 3.00 | 79.50 | 4.99 | 5.505007 | 3.0607500 | 3.575757 | 160.00 | 3.575757 | ||
10 | 3/1/2021 | 10/31/2021 | 3/1/1995 | 26.00 | 64.00 | - | 26.495276 | 3.6928000 | 30.188076 | 240.00 | 30.188076 | ||
11 | 4/27/2021 | 10/31/2021 | 4/27/2020 | 1.00 | 213.25 | - | 31.998784 | 5.3312500 | 37.330034 | 80.00 | 37.330034 | ||
12 | 9/2/2021 | 10/31/2021 | 9/2/2018 | 3.00 | 163.00 | - | 7.149350 | 6.2755000 | 13.424850 | 160.00 | 13.424850 | ||
13 | 9/19/2021 | 10/31/2021 | 9/19/2019 | 2.00 | 200.00 | - | 10.613423 | 7.7000000 | 18.313423 | 160.00 | 18.313423 | ||
14 | 10/6/2020 | 10/31/2021 | 10/6/2020 | 1.00 | 185.50 | - | 21.937500 | 4.6375000 | 26.575000 | 80.00 | 26.575000 | ||
15 | 5/8/2021 | 10/31/2021 | 5/8/2017 | 4.00 | 38.00 | - | 64.273971 | 2.1926000 | 66.466571 | 160.00 | 66.466571 | ||
16 | 10/4/2021 | 10/31/2021 | 10/4/2021 | - | 126.00 | - | - | 3.1500000 | 3.150000 | 80.00 | 3.150000 | ||
17 | 11/13/2020 | 10/31/2021 | 11/13/2020 | - | 170.00 | - | 8.936250 | 4.2500000 | 13.186250 | 80.00 | 13.186250 | ||
18 | 10/14/2021 | 10/31/2021 | 10/14/2014 | 7.00 | 0.75 | - | 2.898649 | 0.0432690 | 2.941918 | 240.00 | 2.941918 | ||
19 | 5/2/2021 | 10/31/2021 | 5/2/2017 | 4.00 | 194.50 | - | 43.365926 | 11.2226500 | 54.588576 | 160.00 | 54.588576 | ||
20 | 10/15/2020 | 10/31/2021 | 10/15/2018 | 3.00 | 136.75 | - | (72.635800) | 5.2648750 | (67.370925) | 160.00 | - | ||
21 | 8/1/2021 | 10/31/2021 | 8/1/2000 | 21.00 | 183.25 | - | 23.691445 | 10.5735250 | 34.264970 | 240.00 | 34.264970 | ||
22 | 6/6/2021 | 10/31/2021 | 6/6/2017 | 4.00 | 87.25 | - | 86.172418 | 5.0343250 | 91.206743 | 160.00 | 91.206743 | ||
23 | 4/29/2021 | 10/31/2021 | 4/29/2016 | 5.00 | 12.00 | - | 15.557808 | 0.6924000 | 16.250208 | 240.00 | 16.250208 | ||
24 | 6/10/2021 | 10/31/2021 | 6/10/2019 | 2.00 | - | - | 5.519133 | - | 5.519133 | 160.00 | 5.519133 | ||
25 | 10/26/2020 | 10/31/2021 | 10/26/1993 | 28.00 | 206.75 | - | 137.816147 | 11.9294750 | 149.745622 | 240.00 | 149.745622 | ||
26 | 6/5/2021 | 10/31/2021 | 6/5/2019 | 2.00 | - | - | 9.032250 | - | 9.032250 | 160.00 | 9.032250 | ||
27 | 9/12/2021 | 10/31/2021 | 9/12/2014 | 7.00 | 204.00 | - | 54.987730 | 11.7708000 | 66.758530 | 240.00 | 66.758530 | ||
28 | 3/25/2021 | 10/31/2021 | 3/25/2021 | - | 160.00 | - | 25.118750 | 4.0000000 | 29.118750 | 80.00 | 29.118750 | ||
29 | 9/1/2021 | 10/31/2021 | 9/1/2007 | 14.00 | 198.25 | - | 58.091116 | 11.4390250 | 69.530141 | 240.00 | 69.530141 | ||
30 | 5/21/2021 | 10/31/2021 | 5/21/1999 | 22.00 | 192.25 | - | 107.666569 | 11.0928250 | 118.759394 | 240.00 | 118.759394 | ||
31 | 11/1/2020 | 10/31/2021 | 11/1/1999 | 21.00 | 40.00 | 37.33 | 35.016216 | 2.3080000 | (0.005784) | 240.00 | (0.005784) | ||
32 | 7/12/2021 | 10/31/2021 | 7/12/2018 | 3.00 | 9.00 | - | 21.662621 | 0.3465000 | 22.009121 | 160.00 | 22.009121 | ||
33 | 9/30/2021 | 10/31/2021 | 9/30/2013 | 8.00 | 214.50 | - | 7.459521 | 12.3766500 | 19.836171 | 240.00 | 19.836171 | ||
34 | 4/19/2021 | 10/31/2021 | 4/19/2021 | - | 186.50 | - | 62.603934 | 4.6625000 | 67.266434 | 80.00 | 67.266434 | ||
35 | 9/8/2021 | 10/31/2021 | 9/8/2015 | 6.00 | 227.50 | - | 48.997505 | 13.1267500 | 62.124255 | 240.00 | 62.124255 | ||
36 | 8/6/2021 | 10/31/2021 | 8/6/2019 | 2.00 | - | - | 1.949280 | - | 1.949280 | 160.00 | 1.949280 | ||
37 | 9/21/2021 | 10/31/2021 | 9/21/2018 | 3.00 | 134.50 | - | 34.636990 | 5.1782500 | 39.815240 | 160.00 | 39.815240 | ||
38 | 1/15/2021 | 10/31/2021 | 1/15/2018 | 3.00 | 152.00 | - | 137.720868 | 5.8520000 | 143.572868 | 160.00 | 143.572868 | ||
39 | 9/16/2021 | 10/31/2021 | 9/16/2021 | - | 209.25 | - | - | 5.2312500 | 5.231250 | 80.00 | 5.231250 | ||
40 | 7/2/2021 | 10/31/2021 | 7/2/2007 | 14.00 | 195.50 | - | 210.645650 | 11.2803500 | 221.926000 | 240.00 | 221.926000 | ||
41 | 10/29/2020 | 10/31/2021 | 10/29/2018 | 3.00 | 137.75 | 24.00 | 42.021158 | 5.3033750 | 23.324533 | 160.00 | 23.324533 | ||
42 | 6/3/2021 | 10/31/2021 | 6/3/2019 | 2.00 | 168.50 | - | 21.065650 | 6.4872500 | 27.552900 | 160.00 | 27.552900 | ||
43 | 6/21/2021 | 10/31/2021 | 6/21/2004 | 17.00 | 195.00 | - | 83.636170 | 11.2515000 | 94.887670 | 240.00 | 94.887670 | ||
44 | 4/15/2021 | 10/31/2021 | 4/15/2019 | 2.00 | - | - | 11.695695 | - | 11.695695 | 160.00 | 11.695695 | ||
45 | 6/12/2021 | 10/31/2021 | 6/12/2017 | 4.00 | 164.00 | - | 143.704298 | 9.4628000 | 153.167098 | 160.00 | 153.167098 | ||
46 | 7/17/2021 | 10/31/2021 | 7/17/2020 | 1.00 | 135.50 | - | 49.637500 | 3.3875000 | 53.025000 | 80.00 | 53.025000 | ||
47 | 4/3/2021 | 10/31/2021 | 4/3/2006 | 15.00 | 164.00 | - | 50.365016 | 9.4628000 | 59.827816 | 240.00 | 59.827816 | ||
48 | 7/24/2021 | 10/31/2021 | 7/24/2005 | 16.00 | 196.00 | - | 153.942487 | 11.3092000 | 165.251687 | 240.00 | 165.251687 | ||
49 | 3/7/2021 | 10/31/2021 | 3/7/2011 | 10.00 | 130.25 | - | 141.211668 | 7.5154250 | 148.727093 | 240.00 | 148.727093 | ||
50 | 7/10/2021 | 10/31/2021 | 7/10/2017 | 4.00 | 189.00 | - | 173.674900 | 10.9053000 | 184.580200 | 160.00 | 184.580200 | ||
OCT 21 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
K2:K50 | K2 | =(J2+I2)-H2 |
L2:L50 | L2 | =IFS($F2<=1,80,$F2<=2,160,$F2<=3,160,$F2<=4,160,$F2>=4.55,240) |
M21:M50,M2:M19 | M2 | =K2 |
J2:J17,J19:J50 | J2 | =IFS(F2<=1,(ROUND(G2*0.025,6)),(F2<=3),(ROUND(G2*0.0385,6)),(G2>=5),(ROUND(G2*0.0577,6))) |
F2:F50 | F2 | =DATEDIF(E2,DATE(2021,10,31),"y") |
Cells with Conditional Formatting | ||||
---|---|---|---|---|
Cell | Condition | Cell Format | Stop If True | |
A2:Q50 | Expression | =EVEN(ROW())=ROW() | text | NO |
A2:Q50 | Expression | =ODD(ROW())=ROW() | text | NO |