I am so impressed with the responses I thought I'd try another puzzle I haven't been able to solve.
In short, the sheet is designed to manually populate a schedule.
For each day, there are various manpower availabilities - and the available names are in named ranges (ie _Jan1, _Jan2 etc) : (also shown with colours for ease of explanation).
I have manually prepopulated the Data Validations for Row 3 and Row 4, pointing each Data Validation range to its corresponding Named Range.
The question:
Since The schedule is filled for 3-4 months at a time, manually assigning the Data Validation range to each row(date) is time-consuming (and prone to error when keystroke fatigue sets in)
Is it possible to automate this - either by formula or a VBA script? (I am very new, but aim to dissect formulas and scripts when I can so I can learn more)
Much appreciated if anyone thinks this possible.
In short, the sheet is designed to manually populate a schedule.
For each day, there are various manpower availabilities - and the available names are in named ranges (ie _Jan1, _Jan2 etc) : (also shown with colours for ease of explanation).
I have manually prepopulated the Data Validations for Row 3 and Row 4, pointing each Data Validation range to its corresponding Named Range.
The question:
Since The schedule is filled for 3-4 months at a time, manually assigning the Data Validation range to each row(date) is time-consuming (and prone to error when keystroke fatigue sets in)
Is it possible to automate this - either by formula or a VBA script? (I am very new, but aim to dissect formulas and scripts when I can so I can learn more)
Much appreciated if anyone thinks this possible.
Book2.xlsx | |||||||
---|---|---|---|---|---|---|---|
A | B | C | D | E | |||
1 | |||||||
2 | Day | Shift 1 | Shift 2 | Shift 3 | |||
3 | 1-Jan | ||||||
4 | 2-Jan | ||||||
5 | 3-Jan | ||||||
6 | 4-Jan | ||||||
7 | 5-Jan | ||||||
8 | |||||||
9 | Availabilities | ||||||
10 | _Jan1 | _Jan2 | _Jan3 | _Jan4 | _Jan5 | ||
11 | |||||||
12 | Doc A | Doc A | Doc C | Doc A | Doc A | ||
13 | Doc B | Doc C | Doc D | Doc E | Doc B | ||
14 | Doc C | Doc D | Doc E | Doc F | Doc C | ||
15 | Doc D | Doc E | Doc F | Doc D | |||
16 | Doc E | Doc E | |||||
17 | Doc F | ||||||
Sheet1 |
Cells with Data Validation | ||
---|---|---|
Cell | Allow | Criteria |
B3:D3 | List | =_Jan1 |
B4:D4 | List | =_Jan2 |