I have a very large spreadsheet which looks up a number of different other tabs to return the project someone is working on across the day. I'd like to colour the different projects and I could use conditional formatting however there are around 50 different projects and I'd like to find a way of doing that quicker - especially as the end client may want to reorganise the colours!
I had the idea of setting up some form of reference table such as the one below then using a module to colour code them however I became stuck at that point
[TABLE="class: grid, width: 258"]
<colgroup><col width="64" span="2" style="width:48pt"> </colgroup><tbody>[TR]
[TD="width: 64"]Ref[/TD]
[TD="width: 64"]Colour[/TD]
[/TR]
[TR]
[TD]Project A[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]Project B[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]Project C[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]Project D[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]Project E[/TD]
[TD]5[/TD]
[/TR]
</tbody>[/TABLE]
To help - the table I'm trying to colour looks like this. Each letter corresponds to a project and is calculated using a formula.
[TABLE="class: grid, width: 1002, align: center"]
<colgroup><col width="64" span="8" style="width:48pt"> </colgroup><tbody>[TR]
[TD="width: 64"]Person ref[/TD]
[TD="width: 64"]08:00[/TD]
[TD="width: 64"]08:30[/TD]
[TD="width: 64"]09:00[/TD]
[TD="width: 64"]09:30[/TD]
[TD="width: 64"]10:00[/TD]
[TD="width: 64"]10:30[/TD]
[TD="width: 64"]11:00[/TD]
[/TR]
[TR]
[TD]12345[/TD]
[TD]A[/TD]
[TD]A[/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]B[/TD]
[TD]B[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]22334[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]C[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]E[/TD]
[/TR]
[TR]
[TD]12533[/TD]
[TD]D[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]A[/TD]
[TD]A[/TD]
[TD]A[/TD]
[TD]A[/TD]
[/TR]
</tbody>[/TABLE]
Many thanks
I had the idea of setting up some form of reference table such as the one below then using a module to colour code them however I became stuck at that point
[TABLE="class: grid, width: 258"]
<colgroup><col width="64" span="2" style="width:48pt"> </colgroup><tbody>[TR]
[TD="width: 64"]Ref[/TD]
[TD="width: 64"]Colour[/TD]
[/TR]
[TR]
[TD]Project A[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]Project B[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]Project C[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]Project D[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]Project E[/TD]
[TD]5[/TD]
[/TR]
</tbody>[/TABLE]
To help - the table I'm trying to colour looks like this. Each letter corresponds to a project and is calculated using a formula.
[TABLE="class: grid, width: 1002, align: center"]
<colgroup><col width="64" span="8" style="width:48pt"> </colgroup><tbody>[TR]
[TD="width: 64"]Person ref[/TD]
[TD="width: 64"]08:00[/TD]
[TD="width: 64"]08:30[/TD]
[TD="width: 64"]09:00[/TD]
[TD="width: 64"]09:30[/TD]
[TD="width: 64"]10:00[/TD]
[TD="width: 64"]10:30[/TD]
[TD="width: 64"]11:00[/TD]
[/TR]
[TR]
[TD]12345[/TD]
[TD]A[/TD]
[TD]A[/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]B[/TD]
[TD]B[/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]22334[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]C[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]E[/TD]
[/TR]
[TR]
[TD]12533[/TD]
[TD]D[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]A[/TD]
[TD]A[/TD]
[TD]A[/TD]
[TD]A[/TD]
[/TR]
</tbody>[/TABLE]
Many thanks