mitchande21
New Member
- Joined
- Jun 18, 2018
- Messages
- 2
I am having trouble finding an efficient way to manage this. What I am looking to do is find a way to calculate the total number of hours worked by employees for each hour during the day. There is an example of how the schedule exports to excel in a table below.
I want to find out how many hours are being worked from 7:00 to 8:00, 8:00 to 9:00, etc. By calculating manually, Employee 1 works for 1 hour during the 7:00 hour and employee 2 works for 15 minutes during the 7:00 hour so the total number of hours worked for the 7:00 hour is 1.25. Total hours worked for the 8 o'clock hour is 1.75. etc. How could I make excel calculate this for each hour throughout the day while taking into account when employees are off as well (ex. Employee 2 only works for 15 minutes during the 1:00 hour)
Thanks for any help here!
[TABLE="class: grid, width: 400"]
<tbody>[TR]
[TD]Employee
[/TD]
[TD]Time In
[/TD]
[TD]Time Out
[/TD]
[TD]Shift Length
[/TD]
[/TR]
[TR]
[TD]Employee 1
[/TD]
[TD]7:00 AM
[/TD]
[TD]12:00 PM
[/TD]
[TD]5
[/TD]
[/TR]
[TR]
[TD]Employee 2
[/TD]
[TD]7:45 AM
[/TD]
[TD]1:15 PM
[/TD]
[TD]5.5
[/TD]
[/TR]
[TR]
[TD]Employee 3
[/TD]
[TD]8:30 AM
[/TD]
[TD]2:00 PM
[/TD]
[TD]5.5
[/TD]
[/TR]
[TR]
[TD]Employee 4
[/TD]
[TD]10:00 AM
[/TD]
[TD]2:00 PM
[/TD]
[TD]4
[/TD]
[/TR]
[TR]
[TD]Employee 5
[/TD]
[TD]10:00 AM
[/TD]
[TD]3:00 PM
[/TD]
[TD]5
[/TD]
[/TR]
[TR]
[TD]Employee 6
[/TD]
[TD]12:00 PM
[/TD]
[TD]4:15 PM
[/TD]
[TD]4.25
[/TD]
[/TR]
[TR]
[TD]Employee 7
[/TD]
[TD]12:15 PM
[/TD]
[TD]6:00 PM
[/TD]
[TD]5.75
[/TD]
[/TR]
[TR]
[TD]Employee 8
[/TD]
[TD]1:00 PM
[/TD]
[TD]7:00 PM
[/TD]
[TD]6
[/TD]
[/TR]
[TR]
[TD]Employee 9
[/TD]
[TD]3:00 PM
[/TD]
[TD]8:00 PM
[/TD]
[TD]5
[/TD]
[/TR]
</tbody>[/TABLE]
I want to find out how many hours are being worked from 7:00 to 8:00, 8:00 to 9:00, etc. By calculating manually, Employee 1 works for 1 hour during the 7:00 hour and employee 2 works for 15 minutes during the 7:00 hour so the total number of hours worked for the 7:00 hour is 1.25. Total hours worked for the 8 o'clock hour is 1.75. etc. How could I make excel calculate this for each hour throughout the day while taking into account when employees are off as well (ex. Employee 2 only works for 15 minutes during the 1:00 hour)
Thanks for any help here!
[TABLE="class: grid, width: 400"]
<tbody>[TR]
[TD]Employee
[/TD]
[TD]Time In
[/TD]
[TD]Time Out
[/TD]
[TD]Shift Length
[/TD]
[/TR]
[TR]
[TD]Employee 1
[/TD]
[TD]7:00 AM
[/TD]
[TD]12:00 PM
[/TD]
[TD]5
[/TD]
[/TR]
[TR]
[TD]Employee 2
[/TD]
[TD]7:45 AM
[/TD]
[TD]1:15 PM
[/TD]
[TD]5.5
[/TD]
[/TR]
[TR]
[TD]Employee 3
[/TD]
[TD]8:30 AM
[/TD]
[TD]2:00 PM
[/TD]
[TD]5.5
[/TD]
[/TR]
[TR]
[TD]Employee 4
[/TD]
[TD]10:00 AM
[/TD]
[TD]2:00 PM
[/TD]
[TD]4
[/TD]
[/TR]
[TR]
[TD]Employee 5
[/TD]
[TD]10:00 AM
[/TD]
[TD]3:00 PM
[/TD]
[TD]5
[/TD]
[/TR]
[TR]
[TD]Employee 6
[/TD]
[TD]12:00 PM
[/TD]
[TD]4:15 PM
[/TD]
[TD]4.25
[/TD]
[/TR]
[TR]
[TD]Employee 7
[/TD]
[TD]12:15 PM
[/TD]
[TD]6:00 PM
[/TD]
[TD]5.75
[/TD]
[/TR]
[TR]
[TD]Employee 8
[/TD]
[TD]1:00 PM
[/TD]
[TD]7:00 PM
[/TD]
[TD]6
[/TD]
[/TR]
[TR]
[TD]Employee 9
[/TD]
[TD]3:00 PM
[/TD]
[TD]8:00 PM
[/TD]
[TD]5
[/TD]
[/TR]
</tbody>[/TABLE]