How to highlight/conditional formatting dates older than 30 days in Excel?
For a list of date and you want to highlight the date cells that are older than 30 days since now, would you highlight them one by one manually? This tutorial introduces how to highlight dates older than 30 days with Conditional Formatting in Excel, and easily select and count dates older than a specific date with an amazing tool.
Easily select and count dates older than a specific date in Excel:
The Select Specific Cells utility of Kutools for Excel can help you quickly count and select all dates in a range of date cells which are older than a specific date in Excel. Download the full feature 30-day free trail of Kutools for Excel now!
With Excel’s Conditional Formatting function, you can quickly highlight dates older than 30 days. Please do as follows.
1. Select the dates data and click Home > Conditional Formatting > New Rule. See screenshot:
2. In the New Formatting Rule dialog, you need to:
- 2.1) Select Use a formula to determine which cells to format option in the Select a Rule Type section;
- 2.2) Enter the below formula into the Format values where this formula is true box;
- 2.3) Click the Format button and specify a fill color to highlight the date cells;
- 2.4) Click the OK button. See screenshot:
Note: in the above formula, A2 the first cell of your selected range, and 30 indicates older than 30 days, you can change them as your need.
Now all dates older than 30 day since today are highlighted with specified fill color.
If there are blank cells in the date list, they will be highlighted as well. If you don’t want the empty cells to be highlighted, please go ahead to create another rule.
3. Select the date list again, click Home > Conditional Formatting > Manage Rules.
4. In the Conditional Formatting Rules Manager dialog box, click the New Rule button.
5. In the opening Edit Formatting Rule dialog box, please:
- 5.1) Select Use a formula to determine which cells to format option in the Select a Rule Type section;
- 5.2) Enter the below formula into the Format values where this formula is true box;
- 5.3) Click OK.
6. When it returns to the Conditional Formatting Rule Manager dialog box, you can see the rule is listed out, check the Stop if True box for it. And finally click the OK button.
Then you can see only dates older than 30 days in selected range are highlighted.
Easily highlight dates older than a specific date with an amazing tool
Here introduce a handy tool – Select Specific Cells utility of Kutools for Excel for you. With this utility, you can select all date cells in a certain range which is older than a specific date, and highlight it with background color manually as you need.
Before applying Kutools for Excel, please download and install it firstly.
1. Select the date cells, click Kutools > Select > Select Specific Cells.
2. In the Select Specific Cells dialog box, you need to:
- 2.1) Select Cell in the Selection type section;
- 2.2) Choose Less than from the Specific type drop-down list and enter a certain date you want to select all dates less than it into the text box;
- 2.3) Click the OK button.
- 2.4) Click OK in the next popping up dialog box. (This dialog box informs you how many cells match the condition and selected.)
3. After selecting the date cells, if you need to highlight them, please manually go to Home > Fill Color to specify a highlight color for them.
You are guest
or post as a guest, but your post won't be published automatically.
To post as a guest, your comment is unpublished.· 1 years agoin support of my solution
To post as a guest, your comment is unpublished.· 1 years agoI want solution. i want a formula through which if the date changed in 1 column then text and colour on the other column should be change by itself.can any body help me on this issue
To post as a guest, your comment is unpublished.· 1 years agoI tried this, and it somewhat worked for me. The problem I have is the empty cells are still highlighted. I don't want the empty cells highlighted. What do I need to do to exclude the blank cells?
To post as a guest, your comment is unpublished.· 6 months agoThis happened to me as well, a couple of things to double check.1) the "STOP IF TRUE" box next to your rule in the rule manager is checked.2) Make sure your 'applies to' for this rule is the same as the one for the other rule(s)3) Check your formula and subculture the "A2" with what matches the column that you are creating the rule for. For example, for my table all of my dates are in the column J and the dates start in row 7 so my formula for this would be=ISBLANK(J7)=TRUEI hope that this helps!
To post as a guest, your comment is unpublished.· 1 years agoIt doesn't work well, only the cell L1 is formated and no other one. Only the cell L1 is marked with an other backround color. Pleas add also when and which cells should be marked before clicking on "new rule."
To post as a guest, your comment is unpublished.· 2 years agoThe issue with less than 30 days is, it is even high
lighting blank cells.
To post as a guest, your comment is unpublished.· 2 years agoHi there, I've searched far and low and have not yet found the specific formatting that I'm looking for. I would like to be able to have a list of all the 5th Sundays in the month, per specific year(There are always 4 months that have 5 Sundays every year).
So since I don't know how to do that, I have a function that looks at dates (Jan - Dec of a year) and finds the first Sunday of the month, then adds 4 weeks to that, which would give me the 5th Sunday of the month.
So some months the resulting dates actually show up in the next month - well all of the ones that don't have 5 Sundays.
So now I was thinking if I could at least have conditional formatting where the "DAY" value in the date is above a certain number, then I could at least easily highlight the ones that have 5 Sundays. But I have not been able to figure it out. Can someone help me with that? It seems to me it should be simple to have a conditional formatting that highlights all the days that are after the middle of the month, regardless of which month or year it is.
To post as a guest, your comment is unpublished.· 2 years agoI am using the Highlighting function with dates greater than 90 days, but then I have a completed date that I would like to use that will remove the highlight when a date is added to this cell. Example Due Date - Highlighted Cell - Completed Date. Is there a formula that will do this?
To post as a guest, your comment is unpublished.· 3 years agoIs it possible to compare 2 dates like; (first date > (second date+5)), and condition a cell colour based on the result?
To post as a guest, your comment is unpublished.· 3 years agoYes, you just need to compare the cells $n$m>,<,=$o$p
Let me know if it works or else, I will provide you another video
Reach me out firstname.lastname@example.org
To post as a guest, your comment is unpublished.· 3 years agoI got the above down but what if I only wanted to count weekdays? No weekends or holidays.
To post as a guest, your comment is unpublished.· 3 years agoWhat about highlighting cells if there is an "open" item vs. "closed" and it is greater than a "x" days?
To post as a guest, your comment is unpublished.· 3 years agoIt works - thanks a lot
To post as a guest, your comment is unpublished.· 4 years agousing TODAY is not going to work. I need to highlight annual dates from specific dates. For example, my employees take training at various dates. I need to highlight red cells that are 365 days from their specific date. I have tried DAY, but that doesn't work and EDATE is not effective as far as I can tell for my needs. It is probably a super simple formula but I can't find it.
To post as a guest, your comment is unpublished.· 4 years agoI need a formula that does red if greater than 30 days but yellow if less than 30 but greater than 20 days.....help!
To post as a guest, your comment is unpublished.· 4 years agoTHANK YOU SO MUCH!!! I have been searching for a formula to make searching our training database easier to determine who is in need of training. Some of our classes are to be taken every-other-year and some are required annually. I just simply changed the formula to
To post as a guest, your comment is unpublished.· 4 years ago=(IF(ISBLANK(C2),99999,C2))
To post as a guest, your comment is unpublished.· 4 years agoDoesn't work for me. It highlights some cells but not others -- even cells with the same date in them had some highlighted and others not. I have not found one simple way to highlight all dates OLDER than 6 months. So many sites offer a way to do it, but not one of them have worked for me. I'm relatively advanced in Excel so this is frustrating. This should be easy!!
To post as a guest, your comment is unpublished.· 4 years agoI have done this rule as instructed and it worked almost perfect. The last cell in my column, though, also highlights as red as if it older than the age specified even though it is not. When I enter a new value underneath that most recent cell, it turns back to white as it should but then the cell I just entered turns red (new most recent value). How do I prevent this?
To post as a guest, your comment is unpublished.· 1 years agosame things happen to me
To post as a guest, your comment is unpublished.· 4 years agohow to put the condition to colour the cell if amount is greater than 30 and less than 61