Rotating Shift Schedule w/Multiple Stipulations

erobinson

New Member
Joined
May 10, 2016
Messages
6
Good morning,

I am trying to create a weekly on-call schedule. There are 12 on-call spots that must be filled each week. The first 11 spots will be filled from a list of 21 people (MEOs) and the 12th spot must have a person from a list of 5 people (Pumphouse). The goal is that no one is on-call 3 weeks in a row. Is this mathematically possible and if so, how do I create this in Excel?
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
Just cycle through the employees in order. If you can use codes MEO1-MEO21 for the first 11 slots and PH1-PH5 for the 12th slot then this:


Book1
ABCDEFGHIJKLMNOPQRSTUV
1SlotWeek 1Week 2Week 3Week 4Week 5Week 6Week 7Week 8Week 9Week 10Week 11Week 12Week 13Week 14Week 15Week 16Week 17Week 18Week 19Week 20Week 21
21MEO1MEO12MEO2MEO13MEO3MEO14MEO4MEO15MEO5MEO16MEO6MEO17MEO7MEO18MEO8MEO19MEO9MEO20MEO10MEO21MEO11
32MEO2MEO13MEO3MEO14MEO4MEO15MEO5MEO16MEO6MEO17MEO7MEO18MEO8MEO19MEO9MEO20MEO10MEO21MEO11MEO1MEO12
43MEO3MEO14MEO4MEO15MEO5MEO16MEO6MEO17MEO7MEO18MEO8MEO19MEO9MEO20MEO10MEO21MEO11MEO1MEO12MEO2MEO13
54MEO4MEO15MEO5MEO16MEO6MEO17MEO7MEO18MEO8MEO19MEO9MEO20MEO10MEO21MEO11MEO1MEO12MEO2MEO13MEO3MEO14
65MEO5MEO16MEO6MEO17MEO7MEO18MEO8MEO19MEO9MEO20MEO10MEO21MEO11MEO1MEO12MEO2MEO13MEO3MEO14MEO4MEO15
76MEO6MEO17MEO7MEO18MEO8MEO19MEO9MEO20MEO10MEO21MEO11MEO1MEO12MEO2MEO13MEO3MEO14MEO4MEO15MEO5MEO16
87MEO7MEO18MEO8MEO19MEO9MEO20MEO10MEO21MEO11MEO1MEO12MEO2MEO13MEO3MEO14MEO4MEO15MEO5MEO16MEO6MEO17
98MEO8MEO19MEO9MEO20MEO10MEO21MEO11MEO1MEO12MEO2MEO13MEO3MEO14MEO4MEO15MEO5MEO16MEO6MEO17MEO7MEO18
109MEO9MEO20MEO10MEO21MEO11MEO1MEO12MEO2MEO13MEO3MEO14MEO4MEO15MEO5MEO16MEO6MEO17MEO7MEO18MEO8MEO19
1110MEO10MEO21MEO11MEO1MEO12MEO2MEO13MEO3MEO14MEO4MEO15MEO5MEO16MEO6MEO17MEO7MEO18MEO8MEO19MEO9MEO20
1211MEO11MEO1MEO12MEO2MEO13MEO3MEO14MEO4MEO15MEO5MEO16MEO6MEO17MEO7MEO18MEO8MEO19MEO9MEO20MEO10MEO21
1312PH1PH2PH3PH4PH5PH1PH2PH3PH4PH5PH1PH2PH3PH4PH5PH1PH2PH3PH4PH5PH1
Sheet1
Cell Formulas
RangeFormula
B2="MEO"&MOD(ROW()-2+(COLUMN()-2)*11,21)+1
B13="PH"&MOD(COLUMN()-2,5)+1


WBD
 
Upvote 0
Thank you for the quick response however this method results in some MEOs being on-call in spots 1 & 2 multiple times while others are never in 1 & 2. When calling staff in, it goes in order so we'd like to sort of evenly distribute how the 21 people fall into the spots. I hope this makes sense but let me know if it doesn't.
 
Upvote 0
There is one of each MEO but spots 1-12 are called into work in that order. Therefore, certain MEOs are almost always in spot 1 or 2 when they are on-call which means they are likely to get called in more than others who may always be in spot 6 or 7 for example.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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