Conditional Highlighting Dates

reighzaigne

New Member
Joined
Oct 19, 2015
Messages
28
Hi all,

I'm having trouble trying to come up with a formula for conditional highlighting.

3 Mar 21 (Date today)
Expiration Date
1 Jan 21​
17 Sep 22​
1 Jan 21​
5 Apr 21​
18 Mar 21​
1 Jan 21​
19 Sep 21​
1 Jan 22​

Sorry for the bad copy-pasting.

I want to have 3 rules.

1st rule: (Yellow)
To highlight all dates that fall within the same year.

2nd rule: (Green)
To highlight all dates that are within 60 days from date.

3rd rule: (Red)
To highlight all overdue dates.


I hope someone can help me.
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
In that case can you post a sample of your data showing the rules you have set.

MrExcel has a tool called “XL2BB” that lets you post samples of your data that will allow us to copy/paste it to our Excel spreadsheets, so we can work with the same copy of data that you are. Instructions on using this tool can be found here: XL2BB Add-in

Note that there is also a "Test Here” forum on this board. This is a place where you can test using this tool (or any other posting techniques that you want to test) before trying to use those tools in your actual posts.
 
Upvote 0

Forum statistics

Threads
1,214,786
Messages
6,121,546
Members
449,038
Latest member
Guest1337

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