Hello,
I try to find formula in column C to calculate time based on shift patterns that could be different. Sometimes shifts can be 8 hours per day, or it can be day off in the middle of the week, because of bank holiday.
Please see below data.
in column C are results.
C2= 13.5 hours, because 7.5 h was worked Monday and 6 hours Tuesday, based on shift times in column E:F
C3= 3.5 hours, because 3.5 h was worked Tuesday , based on shift times in column E:F
C4= 1 hour, because 0.5 h was worked Tue and 0.5 hours Wed, based on shift times in column E:F
C5= 8 hours, because 7.5 h was worked Wed, 0 hours Thursday as it was day off (that's why i have made start/end time on that date same) and 0.5 hour Fri, based on shift times in column E:F
C6= 13.25 hours, because 7.5 h was worked Fri and 5.75 hours Sat, based on shift times in column E:F
Any help is greatly appreciated.
Best regards
A B C E F
<tbody>
</tbody>
I try to find formula in column C to calculate time based on shift patterns that could be different. Sometimes shifts can be 8 hours per day, or it can be day off in the middle of the week, because of bank holiday.
Please see below data.
in column C are results.
C2= 13.5 hours, because 7.5 h was worked Monday and 6 hours Tuesday, based on shift times in column E:F
C3= 3.5 hours, because 3.5 h was worked Tuesday , based on shift times in column E:F
C4= 1 hour, because 0.5 h was worked Tue and 0.5 hours Wed, based on shift times in column E:F
C5= 8 hours, because 7.5 h was worked Wed, 0 hours Thursday as it was day off (that's why i have made start/end time on that date same) and 0.5 hour Fri, based on shift times in column E:F
C6= 13.25 hours, because 7.5 h was worked Fri and 5.75 hours Sat, based on shift times in column E:F
Any help is greatly appreciated.
Best regards
A B C E F
Start Time | End Time | Hours | Shift Start | Shift End | |
Mon 10-Dec-18 08:30 | Tue 11-Dec-18 12:00 | 13.5 | Mon 10-Dec-18 08:00 | Mon 10-Dec-18 16:00 | |
Tue 11-Dec-18 12:00 | Tue 11-Dec-18 15:30 | 3.5 | Tue 11-Dec-18 06:00 | Tue 11-Dec-18 16:00 | |
Tue 11-Dec-18 15:30 | Wed 12-Dec-18 08:30 | 1 | Wed 12-Dec-18 08:00 | Wed 12-Dec-18 16:00 | |
Wed 12-Dec-18 08:30 | Fri 14-Dec-18 06:30 | 8 | Thu 13-Dec-18 06:00 | Thu 13-Dec-18 06:00 | |
Fri 14-Dec-18 06:30 | Sat 15-Dec-18 11:45 | 13.25 | Fri 14-Dec-18 06:00 | Fri 14-Dec-18 16:00 | |
Sat 15-Dec-18 06:00 | Sat 15-Dec-18 12:00 | ||||
Sun 16-Dec-18 06:00 | Sun 16-Dec-18 06:00 |
<tbody>
</tbody>