Conditional Formatting range of date cells based on another cell [Solved/Closed]

cleaverr 3 Posts Monday December 12, 2016Registration date December 13, 2016 Last seen - Dec 12, 2016 at 03:00 PM - Latest reply:  cleaverr
- Jan 5, 2017 at 06:18 AM
Hi There,

There is lots of stuff to do with CF when using today's date but not a for specific date entered in a cell so I was hoping someone might be able to help.

I am trying to CF a row of cells (D2:K2). These all have different dates in them. The formatting is to be based on a date in another cell (B2) - so green if before this date and red if after this date. I will then be doing the same for rows below this (D3:K3 based on B3 etc.). The dates in Column B are all different as well.

Your guidance would be most welcome!

rgds

Rob
See more 

7 replies

ac3mark 9942 Posts Monday June 3, 2013Registration dateModeratorStatus July 17, 2018 Last seen - Dec 12, 2016 at 05:24 PM
0
Thank you
Just compare the value in the two cells, and format it based on the condition. What if the cell contain "hello"? Would you be able to turn the cell red? Use the same type of formula to compare the values! Post back if you still have hardships!
cleaverr 3 Posts Monday December 12, 2016Registration date December 13, 2016 Last seen - Dec 13, 2016 at 06:22 AM
Sorry - please could you provide me with some more details (exact instructions) if possible.
many thanks
cleaverr 3 Posts Monday December 12, 2016Registration date December 13, 2016 Last seen - Dec 13, 2016 at 06:50 AM
So I am currently typing:

"IF(DATEVALUE,$D$2:$O$2<DATEVALUE,B2)" and formatting this for green.
and the same formula with > to be red.

but it is not working.
TrowaD 2395 Posts Sunday September 12, 2010Registration date July 17, 2018 Last seen - Dec 19, 2016 at 11:59 AM
0
Thank you
Hi Rob,

May this pic guide you to your solution:


Best regards,
Trowa
ac3mark 9942 Posts Monday June 3, 2013Registration dateModeratorStatus July 17, 2018 Last seen - Dec 19, 2016 at 04:40 PM
@TrowaD - Always quality from you! Thanks!
TrowaD 2395 Posts Sunday September 12, 2010Registration date July 17, 2018 Last seen - Dec 20, 2016 at 10:46 AM
Thanks, appreciate it!
Sorry for the delay in replying - I have been away.
Many thanks for your help - just what I was after.