Since Sept is the active month then he highlights all the hours per the project status manually. If "rebuilt" it's blue, if "New" it's red. (His legend is at the top)
All I am trying to do is automatically highlight the cells per the active month (1 condition) or if there are values in the up and coming months those are highlighted as well (greater than) Per the Project status (2nd condition). Since there are 6 different options I assume that I will have to write a conditional format for each type, since the project status is more dynamic than the month.
Anything less than the current month is that gradient background.
Below /
attached I tried to implement this using the first several rows of your data (I discarded all the original formatting / conditional-formatting because I didn't want to figure it out). I could not figure out what you wanted different between current month and future months, so I treated current and future months the same.
I created four conditional format rules in the range $G$8:$R$23 (The ULHC, G8, for that range is significant because it gives context to the formulas). Here are the four rules:
[ul]
[li]1st condition: =G$7<MONTH(TODAY()) [format graded shading] STOP IF TRUE[/li]
[li]2nd condition: =ISBLANK(G8) [format none] STOP IF TRUE[/li]
[li]3rd condition: =UPPER($E8)="NEW" [format red] [stop is optional here][/li]
[li]4th condition: =UPPER($E8)="REBUILT" [format blue][/li]
[/ul]
Note that the STOP IF TRUE on the 1st and 2nd conditions simplified the formula for the 3rd and 4th conditions:
[ul]
[li]The 3rd and 4th conditions don't need to check that date is this month or greater, because of earlier 1st condition stop if true.[/li]
[li]The 3rd and 4th conditions don't need to check if cell has anything in it, because of the earlier 2nd condition stop if true.[/li]
[/ul]
That recreates the screenshot and colors in the spreadsheet for this portion of the spreadsheet.... which I'm assuming were originally added by hand without conditional formatting (if they were originally created by conditional formatting then I just recreated the same thing that you already had).
Since there are 6 different options I assume that I will have to write a conditional format for each type...
I think you're saying there are 4 more options beyond New and Rebuilt that need their own color. If so then I think you're right about that... I don't see any way to get around creating a conditional formatting rule for each option (excluding maybe some vba trickery)
EDIT - In case anyone is having a hard time following this. Here's what
my spreadsheet ends up doing (my interpretation of what op requested, whether right or wrong):
[ul]
[li]1 - any cell (empty or not) in a column whose month is less than current month is gradient light blue.[/li]
[li]2 - any
non-empty cell in a column whose month is current month or later is either[/li]
[li]2A - Red if "New" in column E[/li]
[li]or[/li]
[li]2B - Blue if "Rebuilt" in column E[/li]
[/ul]
===============================
=====================================
(2B)+(2B)' ?