Count duration between shifts

Seifeddine87

Board Regular
Joined
Sep 7, 2015
Messages
100
i want to calculate the labour timing shift start at 9am till 12pm / 13pm till 17pm some times the order take more then one day
i am looking for a formula or function to give me the TOTAL as showing in the example thank you
EXAMPLE

ABCD
1engine25-08-20/9:30labour timing4H:55
2gearbox25-08-20/9:409:00
3door25-08-20/11:20(11:20)-(9:30) =1h50m12:00
4bonnet25-08-20/14:50(15:35)-(14:50)=45m13:00
5bumper25-08-20/15:35(12:00)-(10:10)=1h50m17:00
6wing26-08-20/10:10(17:00)-(16:30)=30m
7boot26-08-20/16:30TOTAL 4h55m
 

Some videos you may like

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.

C Moore

Well-known Member
Joined
Jan 17, 2014
Messages
544
Office Version
  1. 365
Platform
  1. Windows
The setup you show may make it difficult for you to setup repeatedly. However, Excel knows that 11:20-9:30 is 0.076389 days. Multiply it by 24 and 60 to get it to minutes.
 

Watch MrExcel Video

Forum statistics

Threads
1,123,391
Messages
5,601,396
Members
414,448
Latest member
Jessica 22664

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
Top