Cannot conditionally format based off of another row.

Copper Contributor

I have a date column in which the date is manually entered. It is currently formatted to turn the text red if equal to or past the due date. This same spreadsheet also has a status column which contains a data validated list of statuses.

Seamus1984_0-1674750175006.png

I have been given the task to change the date font colour back to black when the status is complete.

I have tried to format it using this formula:

Seamus1984_3-1674750529711.png

 

However every formula I try comes back with the same error:

 

Seamus1984_2-1674750437118.png

What do I need to do in order to get the date to change back to black font colour?

Any help at all would be greatly appreciated. 

 

 

3 Replies

@Seamus1984 

Text must be in " " instead of ' '.

You can try

=$F2="Complete"

instead of

=$F2='Complete'

 

@OliverScheurich Ok that has allowed the formula to go in but the date is still formatting as red when the status is "Complete".

 

Here is the current arrangement of conditional formats:

Seamus1984_0-1674815293670.png

I have tried moving the order around and selecting and deselecting 'Stop if True' to see if it will change the font colour but nothing seems to work.

 

Basically I just need the date font to be red if on or past todays date (which is the part that is working) but I want it to change to black font colour once the status in the STATUS column is "Complete".

 

Any help that anyone can give is appreciated.

 

 

@Seamus1984 

You can try these rules and "applies to" ranges which return the expected result if i correctly understand what is intended. Attached is my sample workbook. The screenshots show all rules and "applies to" ranges. The difference seem to be the "applies to" ranges and =$F1="Complete" instead of =$F2="Complete" and the hierarchy of =$F1="Complete" and <=$J$1.

conditional formatting rules applies to ranges.JPGconditional formatting.JPG