Conditional Formatting- Dates greater than 6 months...

mjsel

New Member
Joined
Jul 28, 2009
Messages
8
I have a spreadsheet where I need dates greater than 6 months to show up in red. This is what I currently have in the appropriate cell...

cell value is: greater than or equal to =today()-180

This is not working, can anyone help? Thanks :)
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Using that formula will highlight dates that are more recent than 180 days ago. If you want dates more than 180 days in the past try "less than or equal to" or use "formula is" with the formula

=DATEDIF(A1,TODAY(),"m")>=6
 
Upvote 0
Hi and welcome to the board!!
Not sure what you really want, but it should be something like 1 of these
Conditional Formatting>Formula Is option
Code:
=($D1)*($D1<=Today()-180) or
=($D1)*($D1>=Today()-180)
Note the use of mixed Absolute/Relative notations. This is so the formatting can be extended down Column "D" . Adjust as needed
lenze
 
Upvote 0
Hi and welcome to the board!!
Not sure what you really want, but it should be something like 1 of these
Conditional Formatting>Formula Is option
Code:
=($D1)*($D1<=Today()-180) or
=($D1)*($D1>=Today()-180)
Note the use of mixed Absolute/Relative notations. This is so the formatting can be extended down Column "D" . Adjust as needed
lenze

How would I accomplish this if I wanted to setup a formula that would show a color if the date from the D column was within the current year (2014), was last year (2013) or was in previous years or date ranges.
 
Upvote 0

Forum statistics

Threads
1,214,915
Messages
6,122,217
Members
449,074
Latest member
cancansova

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