+ Reply to Thread
Results 1 to 6 of 6

Conditional formatting to highlight old dates?

  1. #1
    Registered User
    Join Date
    03-25-2014
    Location
    Philadelphia, PA
    MS-Off Ver
    Excel 2010
    Posts
    3

    Conditional formatting to highlight old dates?

    I would like to apply conditional formatting for specific columns where boxes in that column are highlighted when the date is at least 1 year old. What formula do I use for this, and how?

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Conditional formatting to highlight old dates?

    Let's assume that your range is A2:A25 and the date from today is greater than one your

    use this formula

    =DATEDIF($A2:$A$25,TODAY(),"D")>=365
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Registered User
    Join Date
    03-25-2014
    Location
    Philadelphia, PA
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Conditional formatting to highlight old dates?

    So if the date is different in each box in the column, I have to apply a different formula with the date changed in each one? For example, if the box is N4 and the date is 1/16/14, what would the formula be?

    Thank you!!

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Conditional formatting to highlight old dates?

    Quote Originally Posted by mhaness View Post
    So if the date is different in each box in the column, I have to apply a different formula with the date changed in each one? For example, if the box is N4 and the date is 1/16/14, what would the formula be?

    Thank you!!
    The formula evaluates how many days between today and the earlier date and if the number of days is greater than 365 the formula will return 'TRUE' if not, 'FALSE'. One formula will cover the entire range.

  5. #5
    Registered User
    Join Date
    03-25-2014
    Location
    Philadelphia, PA
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Conditional formatting to highlight old dates?

    Ok, I did it! Thank you so much.

  6. #6
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Conditional formatting to highlight old dates?

    You're welcome. Don't forget to thank those who helped by clicking on Add Reputation * and please mark thread as "Solved" if your issue has been resolved. (Selecting Thread Tools-> Mark thread as Solved).

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 0
    Last Post: 08-12-2013, 03:06 PM
  2. Using Conditional Formatting to highlight cells based on approaching dates
    By BrutalExcel in forum Excel - New Users/Basics
    Replies: 11
    Last Post: 06-12-2013, 11:56 AM
  3. [SOLVED] Excel 2010 Conditional Formatting to Highlight input cells based on Dates
    By chrisb84 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-20-2013, 09:39 AM
  4. Replies: 2
    Last Post: 12-18-2012, 11:18 AM
  5. [SOLVED] How do I highlight a cell using conditional formatting and dates
    By shane561 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-27-2005, 12:10 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1