ExcelNoobUser
New Member
- Joined
- Jan 30, 2024
- Messages
- 10
- Office Version
- 365
- Platform
- Windows
Hi, I wanted to ask if there was a better for me to calculate when someone would complete their training in the snippet below. I'm trying to calculate 6 people who are required to attend 300 hours of training everyday excluding weekends and public holidays, with each person having a different amount of hours of training depending on which package they are assigned to. I initially tried to divide the 300 hours into workdays by dividing 300 by the hours in the package with the formula in B4 being 300/F4 and IF for F4 being A to divide by 8, B divide by 7 and C divide by 6 and so on for D, E and F. I got 50 for the amount of days in B4 but this did not include the weekends and did not include the public holidays that I listed in Column M. I then tried to use the WORKDAY function with the start date for B4 being G4, then taking amount of days which I initially wanted to manually add by multiplying it by 1.4 to get 7/5 days in a week and then add the holiday with M4:M9. I tried to do this in one cell in B4 but got #NAME! during my initial attempts. I then tried to separate both functions by calculating the amount of days in training in C4 and multiplying it by 1.4 before referencing it again in B4 for the amount of days but still got the #NAME! error. Is there anything I can do to solve this, with either using one cell for all the formulas to using multiple cells to reference with the WORKDAY function or any other function that can allow me to get the Stop Date without error.