ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Conditional formatting (https://www.excelbanter.com/excel-discussion-misc-queries/263992-conditional-formatting.html)

puiuluipui

Conditional formatting
 
Hi, i have a date in a cell (17.06.2010). I need conditional formatting to
change the cell color with 30 days before that date to expire.

Something like this. if today is 18.05.2010 and i have 17.06.2010, than the
color of that cell to change.

Can this be done?
Thanks!

Jacob Skaria

Conditional formatting
 
Select the range say A1:A10 and use the CF formula

=AND(A1TODAY(),A1-TODAY()<=30)

--
Jacob (MVP - Excel)


"puiuluipui" wrote:

Hi, i have a date in a cell (17.06.2010). I need conditional formatting to
change the cell color with 30 days before that date to expire.

Something like this. if today is 18.05.2010 and i have 17.06.2010, than the
color of that cell to change.

Can this be done?
Thanks!



All times are GMT +1. The time now is 01:23 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com