Partial Units Produced in Shift

Robandemmy

Board Regular
Joined
Jul 16, 2018
Messages
65

I am trying to build a somewhat simple report to display production by shift and by day. My problem is that the unit production times long often cross over shifts. We currently have morning and evening shifts of 12 hours (6am-6pm and 6pm to 6am). I have a table with a start time stamp and an end time stamp....say a unit is started at 4pm on dayshift and is finished at 9pm nightshift, how can I get 0.40 units assigned to M shift and 0.60 units assigned to E shift?

MachineStart TimeEnd TimeUnit Time (minutes)
(End-Start)*1440
M03Mar-25 23:48:00Mar-26 8:07:00499.00
M03Mar-25 14:50:00Mar-25 23:05:00495.00
M03Mar-25 5:39:00Mar-25 13:56:00497.00
M03Mar-24 20:13:00Mar-25 4:33:00500.00
M03Mar-24 11:07:00Mar-24 19:23:00496.00

My extract looks pretty much like this...I add the Unit Time column. Is there a way sum the production for the 6AM and 6PM shifts?

Thanks,

Rob
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Because the unit times are in the 8hr range...for each 12 hour shift, there is a partial unit completed that was started the previous shift + the full unit produced + the partial unit completed up until shift change
 
Upvote 0
I'm thinking that I need to break it out into multiple columns...

Produced 100% on M ShiftProduced 100% on E ShiftProduced M Shift but Started on E ShiftProduced M Shift but Ended on E ShiftProduced E Shift but Started on M ShiftProduced E Shift but Ended on M Shift

The first two columns are pretty straight forward, however, I get spun around in circles with the IF AND/ORs especially when a unit starts on one side of midnight E shift and finishes after midnight on M shift.
 
Upvote 0

Forum statistics

Threads
1,214,641
Messages
6,120,693
Members
448,979
Latest member
DET4492

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