robatthe2A
New Member
- Joined
- Dec 27, 2024
- Messages
- 12
- Office Version
- 365
- Platform
- Windows
Good Morning-
Having some trouble with this equation where I have the calculation set correctly based on the criteria, but I need it to adjust if the annual balance goes below 80 hours. Once below 80 hours in column F I need column H to never be above column F and only deduct if the code entered is applicable based on the parameters set.
=IFS(ISBLANK(D15),"",F14-B15<(--"80:00"),F15,D15="Paid Time Off",H14-0,D15="Paid Sick and Safe Time",H14-B15,D15="Bereavement Paid",H14+0,D15="Civic Duty",H14+0,D15="Emergency Leave - Disaster Area Paid",H14+0,D15="Emergency Leave - Non Disaster Area Paid",H14+0,D15="FMLA Unpaid",H14+0,D15="Intermittent FMLA Paid Time Off PSST",H14-B15,D15="Intermittent FMLA No Pay",H14+0,D15="Intermittent FMLA Paid Time Off PTO",H14-B15,D15="STD Elimination Period Paid PTO",H14-B15,D15="STD Elimination Period - Unpaid",H14+0,D15="STD Elimination Period - Paid PSST",H14-B15,D15="STD Elimination Period Paid PTO",H14-B15,D15="Short Term Disability 70% Paid",H14+0,D15="Short Term Disability 100% Paid",H14+0,D15="Partial STD 70%",H14+0,D15="Partial STD 100%",H14+0,D15="LOA Pending Unpaid",H14+0,D15="LOA Pending Paid",H14-0,D15="Denied LOA",H14+0,D15="Leave as Accommodation",H14+0,D15="Military Leave Active Duty Paid",H14+0,D15="Military Leave Active Duty Unpaid",H14+0,D15="Military Leave Non Active Duty Paid",H14+0,D15="Military Leave Active Duty Paid",H14+0,D15="Paid Early Release",H14+0,D15="Parental Leave Paid",H14+0,D15="Pending Return to Work",H14+0,D15="Personal Leave Paid",H14+0,D15="Personal Leave Unpaid",H14+0,D15="Parental Intermittent Paid",H14+0,D15="Restricted Emergency Time",H14+0,D15="State PFML Unpaid",H14+0)
Having some trouble with this equation where I have the calculation set correctly based on the criteria, but I need it to adjust if the annual balance goes below 80 hours. Once below 80 hours in column F I need column H to never be above column F and only deduct if the code entered is applicable based on the parameters set.
=IFS(ISBLANK(D15),"",F14-B15<(--"80:00"),F15,D15="Paid Time Off",H14-0,D15="Paid Sick and Safe Time",H14-B15,D15="Bereavement Paid",H14+0,D15="Civic Duty",H14+0,D15="Emergency Leave - Disaster Area Paid",H14+0,D15="Emergency Leave - Non Disaster Area Paid",H14+0,D15="FMLA Unpaid",H14+0,D15="Intermittent FMLA Paid Time Off PSST",H14-B15,D15="Intermittent FMLA No Pay",H14+0,D15="Intermittent FMLA Paid Time Off PTO",H14-B15,D15="STD Elimination Period Paid PTO",H14-B15,D15="STD Elimination Period - Unpaid",H14+0,D15="STD Elimination Period - Paid PSST",H14-B15,D15="STD Elimination Period Paid PTO",H14-B15,D15="Short Term Disability 70% Paid",H14+0,D15="Short Term Disability 100% Paid",H14+0,D15="Partial STD 70%",H14+0,D15="Partial STD 100%",H14+0,D15="LOA Pending Unpaid",H14+0,D15="LOA Pending Paid",H14-0,D15="Denied LOA",H14+0,D15="Leave as Accommodation",H14+0,D15="Military Leave Active Duty Paid",H14+0,D15="Military Leave Active Duty Unpaid",H14+0,D15="Military Leave Non Active Duty Paid",H14+0,D15="Military Leave Active Duty Paid",H14+0,D15="Paid Early Release",H14+0,D15="Parental Leave Paid",H14+0,D15="Pending Return to Work",H14+0,D15="Personal Leave Paid",H14+0,D15="Personal Leave Unpaid",H14+0,D15="Parental Intermittent Paid",H14+0,D15="Restricted Emergency Time",H14+0,D15="State PFML Unpaid",H14+0)