April 13, 2022
So, I’m trying to make a randomised ROTA for a bar but have been given 2 stipulations. The workers can’t be on the same bar (1-4) for more than 3 hours consecutively, and there must always be 2 people on both bars, either back bar or 1-4. The inputs are bar 1, bar 2, bar 3, bar 4, subway 1, subway 2 subway 3, subway 4, bar back, bar back, subway BB, subway BB, and cloakroom. I’ve got it to be =index($n$2:$n$13, rank(m2,$m$2:$m$13)) where M is all the inputs and N is just random numbers, how can I improve this to add the stipulations?