date alert color code

jackson5

New Member
Joined
Sep 12, 2011
Messages
1
I have an excel sheets that has a column that lists dates of medical licenses. I wish to have a formula that will change the color of the field when the date due is less that 30 days away from expiration. I hope I am clear with this. e.g medical license expires on 9/30/11. I want the field to change to a color in 30 days before to alert me I need to request a new license.
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
As Dan mentioned you will need to use CF
When the CF Dialog box is open, select "Formula is" in the LH dropdown box
and then in the right hand dropdown you will ned a formula like
Code:
=$B$1<(TODAY()-30)
which basically says if cell B1 is less then Todays date minus 30 days then apply the chosen formatting.
You can then copy the formatting to other cells

HTH
 
Upvote 0

Forum statistics

Threads
1,224,527
Messages
6,179,351
Members
452,907
Latest member
Roland Deschain

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