Conditional Formatting Help with Date Formula

lindy76

New Member
Joined
Jul 26, 2011
Messages
7
I have a few issues that I need help with. I am charged with training individuals every 365 days in a specific topic, but their dates are all different, so I need to have the due date change colors based on the time remaining before they expire. Yellow for 75 days before and red for 45 days before. I also have a few other issues as well, listed below. If someone could help me I would greatly appreciate it. I have a copy of the worksheet I am trying to use but upload it here for someone to look at.
Column G is where I have the date automatically populate to a year after the date of their last training. Example, if I enter the date in F as 12/25/09, in G in auto populates as 12/25/10. But it does that for all the cells in G even if I haven't entered the date in F yet. I need it to look for a date in F before it adds a date in G.

I thought this would be a simple project when I was told to do it, now I know why no one has done it yet.


  • I have formatted the first two dates (G2 & G3) to auto populate the date in G from the data in F ..... =EDATE(F2,12)

  • How to I get rid of the dates in G that are not associated with a date in F?

  • I would like the date to change to yellow when it is 75 days prior to the date in G and then Red 45 days prior to the date in G
Thanks for your time in advance.
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
I would like the date to change to yellow when it is 75 days prior to the date in G and then Red 45 days prior to the date in G

Condition 1
Code:
=$G$2<=TODAY()+45
Make Red



Condition 2
Code:
=$G$2<=TODAY()+75
Make Yellow
 
Upvote 0
It works great for G2 but does not work for the rest of the column, any suggestions on what I am doing wrong? You are saving my backside! I have been searching the internet for over six hours.

Condition 1
Code:
=$G$2<=TODAY()+45
Make Red



Condition 2
Code:
=$G$2<=TODAY()+75
Make Yellow
 
Upvote 0
I just noticed that the code is not reading the data correctly. The date listed in the cell is 8/1/2011, it turned the cell yellow instead of red. I then set it to 12/25/2011 and it stayed yellow.

Condition 1
Code:
=$G$2<=TODAY()+45
Make Red



Condition 2
Code:
=$G$2<=TODAY()+75
Make Yellow
 
Upvote 0
When you open conditional formatting

is the
Code:
=$G$2<=TODAY()+45
Red listed first as condition 1

P.S.
you'll need to remove the $'s to copy the formatting to other cells
 
Upvote 0

Forum statistics

Threads
1,224,566
Messages
6,179,555
Members
452,928
Latest member
101blockchains

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