• Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Microsoft Excel Tips and Tricks - Computergaga

  • Home
  • Excel Online Courses
  • Excel Functions List
  • Free Downloads
  • Blog
  • Tutorials
  • About
Home / Excel Tips / Highlight Dates Over 30 Days Old

Highlight Dates Over 30 Days Old

I was asked yesterday how to highlight dates that were over 30 days old. The situation was that the date of a transaction is recorded and the team need to be alerted when that date is older than 30 days.

Because they wish to highlight the cell, Conditional Formatting will be used. A new rule will be created with criteria to find those dates older than 30 days.

Once you are familiar with how to compare dates in Excel and highlight the dates that meet specific criteria, you can adjust the formula used in this tutorial to meet your needs. For example, to highlight overdue dates, or those due within the next 7 days.

Create the Rule

  1. Select the cells containing the dates you want to format
  2. Click the Conditional Formatting button on the Home tab of the Ribbon and select New Rule from the list
  3. Select Format only cells that contain as the rule type
  4. Choose Cell Value from the first list and less than from the second list in the rule description
  5. Enter the formula =today()-30 in the next box. This formula uses the TODAY function to find the current date and then subtracts 30 days from it
Highlight dates over 30 days old
  1. Click the Format button and choose the formatting you wish to apply
  2. Click Ok

All dates older than 30 days are highlighted with the formatting you chose.

Conditional Formatting is an extremely useful feature of Excel.

Related Posts:

  • Compare dates in Excel feature
    How to Compare Dates in Excel

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Recent Posts

  • Excel SWITCH Function – Nested IF Function Alternative
  • Sum Formulas Only in Excel
  • How to Calculate Age in Excel
  • Custom Sort in Excel
  • Case Sensitive Lookup with XLOOKUP in Excel
Advanced Excel Success book

Footer

Contact

[email protected]

LinkedIn Twitter YouTube

Useful Links

  • Home
  • Excel Online Courses
  • Tutorials
  • Sitemap
  • Privacy Policy
  • Jobs by Jooble

Course Topics

  • Blog
  • Charts
  • Courses
  • Dashboards
  • Downloads
  • Excel Tips
  • Formulas
  • Mail Merge
  • Office
  • PivotTables
  • Power BI
  • Power Pivot
  • Power Query
  • VBA

Join Our Mailing List

© Copyright 2009 Computergaga · All Rights Reserved ·