I have hit a wall figuring out how to best get this done...
Based on this:
With the working hours as entered what is the number of hours in the Total during working hours and the total outside working hours for each of the Start and Stop pairs? The Working hours is variable as is the Start and Stop times. One huge wrinkle is that sometimes the stop time will roll over midnight. The hours should be presented as an integer, but not critical as I can do that part. It is the logic I am truly seeking, and correct formulas to use.
I don't have any code to share as I would start down a path and quickly see it was grossly wrong in logic.
I appreciate any help with this...
Based on this:
5. Employees Normal Work Hours | 8:00:00 AM | to | 4:45:00 PM | |||||
Date | Start | Stop | Total During Working Hours | Total Outside Working Hours | ||||
12/1/19 | 6:30:00 PM | 9:30:00 PM | NEED THIS VALUE | NEED THIS VALUE | ||||
12/2/19 | 7:00:00 AM | 12:00:00 PM | NEED THIS VALUE | NEED THIS VALUE | ||||
12/3/19 | 9:00:00 AM | 6:00:00 PM | NEED THIS VALUE | NEED THIS VALUE | ||||
12/5/19 | 21:00:00 PM | 1:00:00 AM | NEED THIS VALUE | NEED THIS VALUE | ||||
12/6/19 | 09:00:00 AM | 01:00:00 PM | NEED THIS VALUE | NEED THIS VALUE |
With the working hours as entered what is the number of hours in the Total during working hours and the total outside working hours for each of the Start and Stop pairs? The Working hours is variable as is the Start and Stop times. One huge wrinkle is that sometimes the stop time will roll over midnight. The hours should be presented as an integer, but not critical as I can do that part. It is the logic I am truly seeking, and correct formulas to use.
I don't have any code to share as I would start down a path and quickly see it was grossly wrong in logic.
I appreciate any help with this...