Hello everybody,
Below is an example of a annual roster on which I'm working. I've only shown a small area, for brevity.
The coloured areas are conditionally formatted. Ivory shows Away, green is for Work, pale blue is a day on which a shift-change may occur, and TD is a Transition Day. I've not shown the conditional formatting formulae simply because the page then gets too large for easy viewing . The mustard colour is the "base", so I don't need to use up a CF option for those cell-values.
What I'd like to do is collect the date from a cell outside the formatted area, rows 54 and 55 in the extract, and then colour the relevant cell red, as per the first example. ie AB has an Expiry date of the 4th Jan, therefore fill the cell corresponding to the relevant day in red. BD52 should colour to indicate CD's expiry.
Is it possible to do this with a CF formula, or is VBA the answer?
Many thanks in advance for any suggestions on the solution.
Roster
<tbody>
</tbody>
<tbody>
</tbody>
Excel tables to the web >> Excel Jeanie HTML 4
<!-- ######### End Created Html Code To Copy ########## -->
Below is an example of a annual roster on which I'm working. I've only shown a small area, for brevity.
The coloured areas are conditionally formatted. Ivory shows Away, green is for Work, pale blue is a day on which a shift-change may occur, and TD is a Transition Day. I've not shown the conditional formatting formulae simply because the page then gets too large for easy viewing . The mustard colour is the "base", so I don't need to use up a CF option for those cell-values.
What I'd like to do is collect the date from a cell outside the formatted area, rows 54 and 55 in the extract, and then colour the relevant cell red, as per the first example. ie AB has an Expiry date of the 4th Jan, therefore fill the cell corresponding to the relevant day in red. BD52 should colour to indicate CD's expiry.
Is it possible to do this with a CF formula, or is VBA the answer?
Many thanks in advance for any suggestions on the solution.
Roster
* | BA | BB | BC | BD | BE | BF | BG | BH |
43 | 2012 | * | 01 | 02 | 03 | 04 | 05 | 06 |
44 | * | Jan | Sun | Mon | Tue | Wed | Thu | Fri |
45 | * | AB | X | X | X | X | X | X |
46 | * | CD | 1 | 1 | 1 | 1 | 1 | 1 |
47 | * | Feb | Wed | Thu | Fri | Sat | Sun | Mon |
48 | * | AB | 1 | 1 | 1 | 1 | 1 | X |
49 | * | CD | X | X | X | X | TD | 1 |
50 | * | Mar | Thu | Fri | Sat | Sun | Mon | Tue |
51 | * | AB | 1 | 1 | 1 | 1 | 1 | 1 |
52 | * | CD | X | X | X | X | X | X |
53 | * | * | * | * | * | * | * | * |
54 | * | AB | Expiry | 04-Jan | * | * | * | * |
55 | * | CD | Expiry | 02-Mar | * | * | * | * |
<tbody>
</tbody>
Spreadsheet Formulae | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<tbody> </tbody> |
<tbody>
</tbody>
Excel tables to the web >> Excel Jeanie HTML 4
<!-- ######### End Created Html Code To Copy ########## -->