I have a calendar for keeping track of employee time. I have several categories for not working on a weekday - Holiday, Plant Closed, Vacation, 1/2 day vacation, etc. Each of these categories need to be color coded, but conditional formatting only allows 3 conditions.
Currently, I have the 3 conditions written similar to the following:
Vacation, Holiday and xxxx are named subsets of the categories array.
I have the color pattern set in each cell of the categories array to what it should be on the timesheet. Is it possible to copy the color pattern from the target cell in the categories array?
And if that is possible can I utilize vlookup (or something similiar) to only have 1 condition that will check the cell value against the array and copy the matching color pattern?
Thanks
Currently, I have the 3 conditions written similar to the following:
Code:
Conditional Format 1: =E3=VLOOKUP(E3,Vacation,1) [COLOR=yellow]Yellow[/color]
Conditional Format 2: =E3=VLOOKUP(E3,Holiday,1) [COLOR=orange]Orange[/color]
Conditional Format 3: =E3=VLOOKUP(E3,xxxx,1) [COLOR=red]Red[/color]
I have the color pattern set in each cell of the categories array to what it should be on the timesheet. Is it possible to copy the color pattern from the target cell in the categories array?
And if that is possible can I utilize vlookup (or something similiar) to only have 1 condition that will check the cell value against the array and copy the matching color pattern?
Thanks