PDA

View Full Version : [SOLVED:] Excel CF help



Jagdev
03-17-2015, 02:43 AM
Excel CF help
Could you please help me with the CF formula which will change the color of the cell whenever the date is changed to 7 days after the applied date?
Say in the attached sample the date in column A is 17th March and it will be fixed throughout the column A. In case if someone changes the date to 25th March or above, it should change the cell color. Till the date 24th it should not change it color and from 25th and above change the color of the cell
Regards,
JD

Kenneth Hobs
03-17-2015, 08:10 AM
Try using a formula that results in a boolean, true or false, value for A2 in some other cell. Copy the formula down and you should get True and False. Now add the relative addressed formula for A2 in the conditional format of A2.

e.g.
Choose the last option of Conditional Formating for a formula in A2 as:
=A2>DATE(2015,3,17)+7
Set the format for when that is true to implement.

I generally do that for one cell, copy it, and the use the Formatting option in Paste Special to format the other cells the same. The key is using absolute or relative cell addressing to suit.

Jagdev
03-17-2015, 09:27 PM
Hi Kenneth

Thanks for the formula. It really worked!

Regards,
JD

Aussiebear
03-18-2015, 03:41 AM
SinceK Kenneth has provided a solution, would you mind going to the Thread tools dropdown and marking the solution as solved?

Jagdev
03-18-2015, 03:52 AM
Hi Aussie

Sorry for missing this out.

Regards,
JD