Conditional Formatting 3 date frames with a RAG Status

Toodlelou

New Member
Joined
Mar 15, 2017
Messages
8
Hi All,
I have a 'Planned Date' column (V) and I need to apply the following conditional formatting RAG status:
  • Four weeks prior to date in column 'V' the date needs to be highlighted Green
  • Between 3 and 2 weeks prior to date in column 'V' the date needs to be highlighted Amber
  • 1 week or less prior to date in column 'V' the date needs to be highlighted Red
I have tried various CF rules and various formulae but cannot get the results I require. Please help?
Many thanks and kindest regards,
Toodle
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Select V1

Conditional Formatting
New Rule
Use a formula to determine...
3 formulas required, in this order

=(TODAY()-V1<=28)
format as green
=(TODAY()-V1<=21)
format as amber
=(TODAY()-V1<=7)
format as red

Use Format painter (paintbrush icon) to copy to other cells
 
Upvote 0
Hi Special-K99,
Thank you for getting back to me but I must be doing something wrong :(
I applied the steps you detailed in the order you detailed them but the cell defaults to the colour of the last conditional formatting formula applied no matter what the date is.
The dates I am trying to apply a RAG Status to are in a DD/MM/YYYY format if that helps?
Many thanks
 
Upvote 0
Are they actually dates or text?
Use ISNUMBER() on a cell that you think is a date.

If they are dates, try reversing the order of the formulas
 
Upvote 0
It returns as FALSE.
I formatted the cells via the 'Formatt Cells' window on the 'Number' Tab with 'Category:' selected as 'Date' and 'Type:' 14/03/2001
What am I doing wrong?
Thank you in advance
 
Upvote 0
Assume there is a date in A1
In a blank cell enter
=ISNUMBER(A1)

If it says TRUE its a date, if it says FALSE its text.

The dates have to be dates for the conditional formulas to work.
If any of the dates are text they will not work on that date.
 
Upvote 0
put the formula in a different cell to the cell you are referring to.
ie =ISNUMBER(A1) when typed into A1 will produce a circular reference warning.
So I would need to put it into a DIFFERENT cell.
 
Upvote 0

Forum statistics

Threads
1,214,908
Messages
6,122,187
Members
449,072
Latest member
DW Draft

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