Calculation of breaks between workshifts

brass312

New Member
Joined
Aug 12, 2014
Messages
14
Guys please help as I ran out of ideas:

I need to calculate workers' rest time between two shifts, example


Day 1 Time in: 8:00
Day 1 Time out: 23:00

Day 2 Time in: 8:00
Day 2 Time out: 17:00

Rest between shifts: 9hrs [so formula would be Day 1 Time out - Day 2 Time in, but it never returns the correct digit]
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Your formula is incorrect, it's (Day2 Time In - Day1 Time Out)

Ensure the date AND time are in the same cell, then just perform the subtraction as above.
Reformat the cell to to hh:mm
 
Upvote 0
Your formula is incorrect, it's (Day2 Time In - Day1 Time Out)

Ensure the date AND time are in the same cell, then just perform the subtraction as above.
Reformat the cell to to hh:mm

Yep, but even with hh:mm the formula doesn't calculate it correctly, here the result should be 9 hours not 15 hours

Day 1 Time Out: 23:00
Day 2 Time In: 08:00
 
Upvote 0

Forum statistics

Threads
1,223,214
Messages
6,170,774
Members
452,353
Latest member
strainu

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top