Hi All
I'm attempting to make a schedule which autopopulates/calculates based on a start/finish time.
I've asked for help previously with different versions of this schedule but this particular version, I'm having an issue with the activities that lasts 10 hours.
Basically, if the start time is 04:00, 07:00, 10:00 or 13:00 - it's populating 11 hours rather than 10. This isn't happening with the activities that last 6 or 8 hours or any other start times other than those listed. I've tried checking the format of all the elements that are involved in my formula and everything seems to be the same (custom, hh:mm) so I can't figure out what's going wrong.
I'm sure there are different ways of making this work but I'd rather keep the formulas I'm using the same if possible.
Thanks in advance all
I'm attempting to make a schedule which autopopulates/calculates based on a start/finish time.
I've asked for help previously with different versions of this schedule but this particular version, I'm having an issue with the activities that lasts 10 hours.
Basically, if the start time is 04:00, 07:00, 10:00 or 13:00 - it's populating 11 hours rather than 10. This isn't happening with the activities that last 6 or 8 hours or any other start times other than those listed. I've tried checking the format of all the elements that are involved in my formula and everything seems to be the same (custom, hh:mm) so I can't figure out what's going wrong.
I'm sure there are different ways of making this work but I'd rather keep the formulas I'm using the same if possible.
Thanks in advance all
SampleSchedule.xlsx | |||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | AA | AB | AC | AD | AE | AF | AG | AH | AI | AJ | AK | |||
1 | Start time | End time | 00:00 | 01:00 | 02:00 | 03:00 | 04:00 | 05:00 | 06:00 | 07:00 | 08:00 | 09:00 | 10:00 | 11:00 | 12:00 | 13:00 | 14:00 | 15:00 | 16:00 | 17:00 | 18:00 | 19:00 | 20:00 | 21:00 | 22:00 | 23:00 | 00:00 | 01:00 | 02:00 | 03:00 | 04:00 | 05:00 | 06:00 | ||||||
4 | Mon | 01/05 | Activity 1 | 06:00 | 16:00 | Activity 1 | Activity 1 | Activity 1 | Activity 1 | Activity 1 | Activity 1 | Activity 1 | Activity 1 | Activity 1 | Activity 1 | ||||||||||||||||||||||||
5 | Mon | 01/05 | Activity 2 | 07:00 | 17:00 | Activity 2 | Activity 2 | Activity 2 | Activity 2 | Activity 2 | Activity 2 | Activity 2 | Activity 2 | Activity 2 | Activity 2 | Activity 2 | |||||||||||||||||||||||
6 | Mon | 01/05 | Activity 3 | 08:00 | 14:00 | Activity 3 | Activity 3 | Activity 3 | Activity 3 | Activity 3 | Activity 3 | ||||||||||||||||||||||||||||
7 | Mon | 01/05 | Activity 4 | 09:00 | 17:00 | Activity 4 | Activity 4 | Activity 4 | Activity 4 | Activity 4 | Activity 4 | Activity 4 | Activity 4 | ||||||||||||||||||||||||||
8 | Mon | 01/05 | Activity 5 | 10:00 | 18:00 | Activity 5 | Activity 5 | Activity 5 | Activity 5 | Activity 5 | Activity 5 | Activity 5 | Activity 5 | ||||||||||||||||||||||||||
Schedule |
Cell Formulas | ||
---|---|---|
Range | Formula | |
A4:A8 | A4 | =TEXT($B$4,"ddd") |
B4:B8 | B4 | =$A$2 |
E4:E8 | E4 | =IF(D4<>"",_xlfn.XLOOKUP(C4,Sheet2!$A$2:$A$6,Sheet2!$B$2:$B$6)+D4,"") |
AE4:AK8,F4:AC8 | F4 | =IF($D4="","",(IF(AND(F$1>=$D4,F$1<$E4),$C4,""))) |
Cells with Data Validation | ||
---|---|---|
Cell | Allow | Criteria |
D4:D8 | List | =Sheet2!$A$10:$A$33 |