Hi,
Please find attached. That is my idea on how you can do the scheduler but the formula is not really efficient. Maybe someone can also give a solution that I can also copy. I also face a similar situation so I made this long formula.
My solution is like this:
1. Multiply number of completed days by 8 and add the number of hours (currently on schedule) to get the total number of hours completed.
2. The result in 1 is divided by 13 which is the total number of hours per cycle.
3. The result in 2 is subtracted by the result in 2 rounded down to nearest whole number to get the fraction of the current cycle that is being schedule for that hour (example 4 hrs from the start of the cycle is 0.3077 [or 4/13] of the cycle).
4. The result in 3 is multiplied by 13 to get the current hour of the cycle being scheduled (in our example is 4).
5. From result in 4, we chose the equivalent Task as below:
1 = Task 1
2 = Task 1
3 = Task 1
4 = Task 2
5 = Task 2
6 = Task 2
7 = Task 3
8 = Task 3
9 = Task 3
10 = Task 3
11 = Task 4
12 = Task 4
13 = Task 4
Other additions:
A. I rounded the result in 4 to nearest whole number.
B. If result in 4 is 0, it is changed to 13.
Any suggestions how the formula can be trimmed down? Any function that will make this easier? Because I'd also use that formula.
Thanks,
Peter
Task Scheduler.xlsx
Bookmarks