Help with populating rota based on colour of cell

Nashpotatoes

New Member
Joined
Jun 21, 2022
Messages
7
Office Version
  1. 365
Platform
  1. Windows
Hello, I am using a well established rota on excel but wishing to make some things automated using VBA to save time.
It is a rolling rota where employees have different roles (on a 6 week rolling rota) but also cross cover for absences/annual leave etc, within this there is also a 'jobs rota' for 3 of the specific roles. Currently the roles are based on cell colour on the rota (and I cannot change this)
One thing that takes time is updating the roles of these 3 employees based on the separate 'jobs rota'.
What I wish to to is add the jobs from the 'jobs rota' to only specific coloured cells on the main rota, but also not delete what is already written in these cells (such as 'long day') only add to it (eg. to say 'Long day - Lab' or 'Long day Pick-up').

...Sorry if this is not explained very well, please see mini-sheet below

Thank you in advance for any help you may be able to offer

Book1
ABCDEFGHIJKLMNO
1Main rotaJobs rota for red, yellow, blue
2PeopleWeek 1Week 2Week 3Week 4
3Week 1-4DateDay123456MondayLabOfficeFloorOutside
4101/08/2022MondayOffCollectionStudyStudyStudy
502/08/2022TuesdayLong dayOffPick upPick upPick upPick up
603/08/2022WednesdayOffTuesdayStudyOfficeTheatreOffice
704/08/2022ThursdayOffClinic 1Clinic 2Clinic 3Clinic 4
805/08/2022FridayOffStudyStudy
906/08/2022SaturdayWednesday
1007/08/2022Sunday
11208/08/2022MondayTheatreTheatre
1209/08/2022TuesdayLong dayThursdayClinic 5Clinic 6Clinic 7Clinic 8
1310/08/2022WednesdayLong dayOffPick-upClinic 8Pick -upClinic 6
1411/08/2022ThursdayLong dayOffTheatreTheatre
1512/08/2022FridayOffFridayClinc 9
1613/08/2022SaturdayLabClinic 9Lab
1714/08/2022SundayStudyStudy
18315/08/2022Monday
1916/08/2022TuesdayLong day
2017/08/2022WednesdayOffLong day
2118/08/2022ThursdayOff
2219/08/2022Friday
2320/08/2022Saturday
2421/08/2022Sunday
25422/08/2022Monday
2623/08/2022Tuesday
2724/08/2022Wednesday
2825/08/2022Thursday
2926/08/2022Friday
3027/08/2022Saturday
3128/08/2022Sunday
32129/08/2022Monday
3330/08/2022Tuesday
3431/08/2022Wednesday
3501/09/2022Thursday
3602/09/2022Friday
37
38
Sheet1
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.

Forum statistics

Threads
1,223,936
Messages
6,175,499
Members
452,650
Latest member
Tinfish

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