thomasoates
New Member
- Joined
- Sep 6, 2018
- Messages
- 2
https://ibb.co/j4ZGeeHi there. I've searched on this forum and others for thisone but I can't seem to find it. I am by no means an expert with Excel so Iwould really appreciate some help.
I am responsible for our rota at work. I have recently changed it to Excel fromWord to try and help me. It’s quite a bespoke and complicated rota. I won’t gointo it too much but will show you what I mean by it.
Days of the month on the left so each row is a day.
AM Court, Strad., Call, Co-Ord are the shift types wehave.
The main entries are staff initials (TMO, ALL, RLW, MPHetc). On the right hand side, (outside of the rota), are people’sunavailability for that day. So one rule I already have is to highlight if thesame initial appears twice on the row (i.e they are unavailable and shouldn’tbe on)
What I now want to do is create a rule to highlight if Iput the same person on any type of shift within one or two days (rows) of eachother. So if they are on a Monday, I want it to highlight if I put the same initialsin either of the two days/rows below. Basically there should be a two day spacebefore someone goes on again. Obviously it needs to work above and below rowsbut that should happen anyway, right?
So the cells that I want this to apply to only the cellsthat deal with shifts, basically columns B though to I. It doesn’t matter ifthere are consecutive in J onwards, indeed there would usually be.
I have tried a few ways but I am not getting it. One thingit needs to do is ignore blank cells, because they clearly do repeat and areirrelevant.
I hope this makes sense and appreciate any help.
Thank you
I am responsible for our rota at work. I have recently changed it to Excel fromWord to try and help me. It’s quite a bespoke and complicated rota. I won’t gointo it too much but will show you what I mean by it.
Days of the month on the left so each row is a day.
AM Court, Strad., Call, Co-Ord are the shift types wehave.
The main entries are staff initials (TMO, ALL, RLW, MPHetc). On the right hand side, (outside of the rota), are people’sunavailability for that day. So one rule I already have is to highlight if thesame initial appears twice on the row (i.e they are unavailable and shouldn’tbe on)
What I now want to do is create a rule to highlight if Iput the same person on any type of shift within one or two days (rows) of eachother. So if they are on a Monday, I want it to highlight if I put the same initialsin either of the two days/rows below. Basically there should be a two day spacebefore someone goes on again. Obviously it needs to work above and below rowsbut that should happen anyway, right?
So the cells that I want this to apply to only the cellsthat deal with shifts, basically columns B though to I. It doesn’t matter ifthere are consecutive in J onwards, indeed there would usually be.
I have tried a few ways but I am not getting it. One thingit needs to do is ignore blank cells, because they clearly do repeat and areirrelevant.
I hope this makes sense and appreciate any help.
Thank you