Conditional formating based on dates in other cells

Paul D

New Member
Joined
Feb 23, 2018
Messages
1
Is it possible to use conditional formatting to format a cell based on a date

For example
Cell A3 = 01/01/2018 - I require cell H3 to be red

If cell B3 changes to another date E.g. 05/02/2018, I wish to change the colour of cell H3 to be green

If cell C3 changes to another date E.g. 08/02/2018, I wish to change the colour of cell H3 to be orange


[TABLE="width: 500"]
<tbody>[TR]
[TD]A1[/TD]
[TD]B1[/TD]
[TD]C1[/TD]
[TD]D1[/TD]
[TD]E1[/TD]
[TD]F1[/TD]
[TD]H1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]
01/01/2018
<strike></strike>[/TD]
[TD]
05/02/2018
[/TD]
[TD]
08/02/2018
<strike></strike>[/TD]
[TD]<strike></strike>[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
Welcome to the Board!

I am not sure that your your question is clear.

Conditional Formatting has no problems formatting based on values in other cells (that is what you would use the Formula option for).
What it cannot do is format based on what a value was previously. It has no memory of that. It can only format based what is currently on your sheet. If you need to remember previous values, you are going to need to store those values somewhere else on your sheet or use VBA.

If you just wanted to Conditional Format B1 if it is not the same as A1, you can simply applying this CF formula to cell B1:
<>A1
And, likewise, you can do the same for C1.
 
Upvote 0

Forum statistics

Threads
1,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top