Two-variable best scenario for work shifts

Winnfieldster

New Member
Joined
Dec 7, 2017
Messages
1
Hi!

First of all, thanks in advance to everyone that saved my sorry a** more times that I can imagine, since I've been visiting this site regularly for tha past 5 years and always found a solution. First time posting, though. :eek:

The problem is (or seems to be) fairly simple, I have to design consecutive work shifts for my team, one in the morning (called C1a), and one in the afternoon (called C2) and distribute evenly throughout a sample month of 5 weeks and I came, manually, with this scenario:

TURNSW1W2W3W4W5
Teammate 1C1aC2C2C1aC2
Teammate 2C2C2C1aC2C1a
Teammate 3C2C1aC2C1aC2
Teammate 4C1aC2C1aC2C2
Teammate 5C2C1aC2C2C1a

<tbody>
</tbody>

The conditions for the best scenario are:
  • There must always be 3 people in the afternoon shift (C2) and 2 people in the morning shift (C1a)
  • People shouldn't work too often (consecutively) in the afternoon shift (it kind of suckt because it ends 11 pm...) so I want them to rotate as often as they can-
  • Every teammate should have equal shifts design

My first question is: Is this something that can be achieved through scenarios / what ifs / solver in Excel?

Second one is: Is it a better solution other than my manual attempt?

This might be a theoretical exercise after all, but I'd really love to see some serious excel combinations to validate...

I uploaded an example here...

Many thanks for your help!
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December

Forum statistics

Threads
1,214,951
Messages
6,122,442
Members
449,083
Latest member
Ava19

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