Another Date Conditional Format

pjrweb

New Member
Joined
Aug 28, 2011
Messages
5
Evening,

I am struggling to find this type of formatting.

I enter a date when a person took a test e.g. 29/AUG/11

If 275 days i want it to go Amber and in 365 days go red.

Any help on the code?

Regards,
PJ
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Evening,

I am struggling to find this type of formatting.

I enter a date when a person took a test e.g. 29/AUG/11

If 275 days i want it to go Amber and in 365 days go red.

Any help on the code?

Regards,
PJ

Not sure you need any code, have you tried Conditional Formatting on the appropriate cells?
 
Upvote 0
I have been trying to get conditional formatting working and have been using dates 275 and 365 before 29/8/11 as the start date .
I can get the first condition to work with a simple "=27/10/10+275" . However, when I enter 2nd condition as '=29/8/10+365" I am unable to test that condition without deleting the first .
I am beginning to think that when the 275 days event occurs the condition attaching will need to be cancelled and a fresh one to cover the 365 days entered.
Have a feeling the same would need to be done with Vog's suggestion .

Pedro
 
Upvote 0
Changed the order and condition 1 (now red) remains.

I take it you have been successful with your test?What did you use as parameters?

Pedro
 
Upvote 0
For my first rule, I have..

=TODAY()-A1>365

for the second rule, I have..

=TODAY()-A1>275


therefore, if the date is > 365 it turns red and if it's > 275 it turns amber if <= 275 is doesn't change.
 
Upvote 0

Forum statistics

Threads
1,224,603
Messages
6,179,850
Members
452,948
Latest member
UsmanAli786

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