Dan Reedy

New Member
Joined
Apr 17, 2018
Messages
20
I am in the process of creating a scheduling spreadsheet for a small manufacture. We are scheduling machines, not people. I am just about complete, having everything but the following working well:

When scheduling 2 jobs that use the same machine and need to be done at the same time, it will double book the machine, instead of completing 1 task, then scheduling the 2nd. Where do I begin to make this work as desired?

Thank you

Dan
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Welcome to the board.

Can you provide a small sample of a couple machines being double booked and how you would like the results to be? And explain any job priorities if any.
 
Upvote 0
I don't have the spreadsheet here at home, it is at work, but perhaps I can explain it enough. Part 1 goes through machines 1,3,5. Part 2 goes through machines 2,3,4. Currently, each part is scheduled independently based on the operation start and end dates. These are calculated based on resource work hours (I have a separate spreadsheet that tracks no working days and hours - that is all working fine) Unfortunately, Part 1 and Part 2 are scheduled in isolation, however depending on due dates, the parts can be fighting for the same machine at the same time. Currently the operation dates (and ultimately the job ship date) is the only determining factor for the order in which they are being produced, but it doesn't prevent the overlap. I could easily add a priority column - 1,2,3,4 etc. if needed.
 
Upvote 0
I think see. A priority column could help. Are updates made to the sheet as parts are finished with each particular machine or is it a one time deal where the whole schedule is laid out up front and nothing changes from beginning to end?
 
Upvote 0
The schedule is updated daily as parts are finished.

I think see. A priority column could help. Are updates made to the sheet as parts are finished with each particular machine or is it a one time deal where the whole schedule is laid out up front and nothing changes from beginning to end?
 
Upvote 0
A priority column may just be the easiest to work with, especially if two different parts have the same start date and end up needing the same machine at the same time. Otherwise, I would like to see the sheet or a sample of it to better understand what you really have.
 
Upvote 0
I have included a small sample of what it is I am trying to accomplish. The 2 highlighted rows share the same operation start date and time so the cell (1002 in this case) is double scheduled. In this case, sequence 1 of each job should be schedule in subsequent order instead of at the same time. How do I do this? I can easily add a priority column to dictate what should be run first, but then I would need help with the formula or vba to execute the premise of what I am trying to accomplish.

Sequence
Cell / Machine
Setup Time
Hourly Rate
Hours Available Per Day
Transfer Hours
Remaining Hours
Start of Working Hours
End of WorkingHours
Operation Start Date and Time
Operation End Date and Time
Days Operation is Early or Late (+ is late / - is early)
1
1002
2
600
15.5
0
30.8
12:00 AM
11:59 PM
4/16/18 7:00 AM
4/17/18 10:18 PM
-12.4
2
M11
0.5
150
21.6
8
131.7
12:00 AM
11:59 PM
4/16/18 3:53 PM
4/24/18 5:59 PM
-5.5
3
5003 - Furnace
0
600
22.5
0
28.8
12:00 AM
11:59 PM
4/25/18 5:59 PM
4/27/18 12:18 AM
-3.3
4
6069
0.5
150
18
4
123.7
12:00 AM
11:59 PM
4/25/18 11:19 PM
5/4/18 3:02 PM
4.3
1
1002
2
600
15.5
0
23.0
11:00 PM
3:30 PM
4/16/18 7:00 AM
4/17/18 2:30 PM
-12.7
2
M12
0.5
150
18.0
4
84.5
12:00 AM
11:59 PM
4/16/18 12:20 PM
4/23/18 12:51 AM
-7.3
3
5003 - Furnace
0
600
22.5
0
21.0
12:00 AM
11:59 PM
4/24/18 12:51 AM
4/24/18 9:51 PM
-5.4
4
6072
0.5
150
18.0
4
84.5
12:00 AM
11:59 PM
4/24/18 6:11 AM
4/30/18 6:41 PM
0.5

<tbody>
</tbody>


Thank you




A priority column may just be the easiest to work with, especially if two different parts have the same start date and end up needing the same machine at the same time. Otherwise, I would like to see the sheet or a sample of it to better understand what you really have.
 
Upvote 0
I'm sure we can figure out a formula to get you going. Do you already have one that you are using now to establish the schedule or is it all manual entry?
 
Upvote 0
The operation start date and time formula for the first operation is: =if(J9="Y",K9,D9) J9 is simply Y or N to determine if I want to override the standard start date calculation. The standard start date is in D9 and is the ship date minus standard lead time. The override date is in K9.

For subsequent operations it is: =IF(Q23>0,U22+(Q23/P23),V22+1)

The Operation End Date is:

=WORKDAY(U22,INT(R22/P22)+IF(TIME(HOUR(U22),MINUTE(U22),SECOND(U22))+TIME(MOD(R22,P22),MOD(MOD(R22,P22),1)*60,0)>T22,1,0),Calendar!$G$5:$G$55)+IF(TIME(HOUR(U22),MINUTE(U22),SECOND(U22))+TIME(MOD(R22,P22),MOD(MOD(R22,P22),1)*60,0)>T22,S22+TIME(HOUR(U22),MINUTE(U22),SECOND(U22))+TIME(MOD(R22,P22),MOD(MOD(R22,P22),1)*60,0)-T22,TIME(HOUR(U22),MINUTE(U22),SECOND(U22))+TIME(MOD(R22,P22),MOD(MOD(R22,P22),1)*60,0))

This is meant to take into account start of working hours, a calendar with non working days and week days. This needs to be returned in date and time format for the days operation is early or late to work. There is probably easier ways to do that, but it is what I found when I "googled it"

Thank you




I'm sure we can figure out a formula to get you going. Do you already have one that you are using now to establish the schedule or is it all manual entry?
 
Upvote 0
Can you tell me what is in each of the cells in those first two formulas, and how they relate to the sample you provided? And where will the priority column be and how should it work?
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,053
Messages
6,122,888
Members
449,097
Latest member
dbomb1414

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