Conditional formatting code does not work

ruthdennise

New member
Joined
Aug 31, 2017
Messages
2
Reaction score
0
Points
0
Hello! I am doing a multiple project Gantt chart that looks like this:

1117935

The sheet gets its data from another sheet named "DATA" as shown below:
1117938

What I want to happen in the ACTUAL PART is when the date for the specific step is equal to the plan, the color of the cell will be GREEN and RED if not. What I did for the actual was I set its default color as GREEN just like this:

1117944

The problem is, the code to fill the cell RED if the PLAN and ACTUAL does not match does not work. My code for the RED was this:
=IF(AND(ISEVEN(ROW()),DATA!$C2<>DATA!$C3),AND(DATA!$C2<=C$2, DATA!$C2 >=C$2),0)

 
You'll need to upload the workbook if you want help with this. Click Go Advanced to find the attach file option.
 
Using lots of merged cells will not help. Unmerge them all and format another way, then try again
 
This part can only be true if Data!C2 is equal to C2; AND(DATA!$C2<=C$2, DATA!$C2 >=C$2)
 
Back
Top