I am stuff on a problem regarding setting up a dynamic shift rota at work.
What it has to do is there are 3 people per team and 3 jobs to do (which they do as equals as it can be per week) and when someone is off lets call it job 3 is just not done that day.
I have been able to make it to set true or false if there in but having trouble with assigning a different job per day with priority on job numbers 1 and 2.
edit: I thought I would explain it better what I am looking for
This is the spreadsheet i have at the top is the rota 1 = in 0 = day off
I have only been working on Group 3 to get it working, In the grey next to the days at the bottom are the jobs in which that person would be doing if it was a full staff day.
What i need to do is if there are only 2 people in then they do job number 1 and 2 alternativly .
i currently have this formula it works for some combo but not all (this is formula for H33)
=IF(F9 > 0, IF(OR(F9=0,F10=0,F11 = 0),IF(OR(I33 = 1, I33 = 2),I33,I33-1),I33), 0)
Any advise woudl be great