Auto populate names to weekly rotating schedule tabs

Badeddie

New Member
Joined
Oct 27, 2018
Messages
1
Hello all,

I am new to this forum, but not new to excel/VBA. I have a problem that I can't seem to work out in my own head, and I believe it's a very simple one which makes it all the more frustrating to me. I have developed rotating shift schedules for my workplace for 6 different departments. It is broken down into separate tabs for each week of the year, with a section for day shift and a section for night shift. There are 4 shifts with 8 jobs on each shift. The file is created for each calendar year. I have a template with all the info from each department saved in a "Setup" tab. For the last few years, I've had to do a find/replace exercise for 32 different names in each department in order to populate the basic rotation for the whole year. The template has the "name" spots labeled as "A1, A2, A3", "B1, B2, B3" from A1 through A8, B1 through B8, C1 through C8, and D1 through D8. What I'm looking to be able to do is enter the names next to a list of A1 through D8, and then use that to populate out to the week tabs. I'll try to explain this with the examples below.

I want to be able to set up the names like this on the setup tab (all the way down through D8):
Excel 2010
AB
22Shift spotName
23A1Nasella
24A2Krauss
25A3Nardone
26A4VanHorn
27A5Kendrick
28A6Wells
29A7Gillespie
30A8Boyer
31B1McCant
32B2Banta
33B3Reed

<tbody>
</tbody>

Setup
And have it populate each tab which begins like this:

Excel 2010
ABCDEFGH
2Date12/24/201812/25/201812/26/201812/27/201812/28/201812/29/201812/30/2018
3DayMondayTuesdayWednesdayThursdayFridaySaturdaySunday
4Day ShiftDDBBDDD
5Job 1D1D1B1B1D1D1D1
6Job 2D2D2B2B2D2D2D2
7Job 3D3D3B3B3D3D3D3
8Job 4D4D4B4B4D4D4D4
9Job 5D5D5B5B5D5D5D5
10Job 6D6D6B6B6D6D6D6
11Job 7D7D7B7B7D7D7D7
12Job 8D8D8B8B8D8D8D8
21Night ShiftCCAACCC
22Job 1C1C1A1A1C1C1C1
23Job 2C2C2A2A2C2C2C2
24Job 3C3C3A3A3C3C3C3
25Job 4C4C4A4A4C4C4C4
26Job 5C5C5A5A5C5C5C5
27Job 6C6C6A6A6C6C6C6
28Job 7C7C7A7A7C7C7C7
29Job 8C8C8A8A8C8C8C8

<tbody>
</tbody>

Dec 24 - Dec 30
So that it ends up like this:

Excel 2010
ABCDEFGH
2Date12/24/201812/25/201812/26/201812/27/201812/28/201812/29/201812/30/2018
3DayMondayTuesdayWednesdayThursdayFridaySaturdaySunday
4Day ShiftDDBBDDD
5Job 1DantonioDantonioMcCantMcCantDantonioDantonioDantonio
6Job 2McClureMcClureBantaBantaMcClureMcClureMcClure
7Job 3StahlStahlReedReedStahlStahlStahl
8Job 4HollisHollisRepineRepineHollisHollisHollis
9Job 5EsslingerEsslingerHatalaHatalaEsslingerEsslingerEsslinger
10Job 6MacielagMacielagWillisWillisMacielagMacielagMacielag
11Job 7PhillipsPhillipsDraineDrainePhillipsPhillipsPhillips
12Job 8BirneyBirneyBrosovichBrosovichBirneyBirneyBirney
21Night ShiftCCAACCC
22Job 1HolmesHolmesNasellaNasellaHolmesHolmesHolmes
23Job 2McMasterMcMasterKraussKraussMcMasterMcMasterMcMaster
24Job 3RoccioRoccioNardoneNardoneRoccioRoccioRoccio
25Job 4DonahueDonahueVanHornVanHornDonahueDonahueDonahue
26Job 5DurbanoDurbanoKendrickKendrickDurbanoDurbanoDurbano
27Job 6AshAshWellsWellsAshAshAsh
28Job 7ReaganReaganGillespieGillespieReaganReaganReagan
29Job 8HubertHubertBoyerBoyerHubertHubertHubert

<tbody>
</tbody>

Dec 24 - Dec 30
Thanks in advance for any help!
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.

Forum statistics

Threads
1,214,918
Messages
6,122,241
Members
449,075
Latest member
staticfluids

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