+ Reply to Thread
Results 1 to 5 of 5

Change date display after specified time

  1. #1
    Registered User
    Join Date
    05-01-2007
    Location
    Lancashire, England
    Posts
    20

    Change date display after specified time

    I have a few columns of dates and I'd like them to be displayed in a different colour (or have the cell change colour) when 6 months has passed. For example if the date in the cell is 12/09/06 and the current date is 13/03/07 then it'd be over 6 months so I'd like the date 12/09/06 to change to a red text colour or have the cell change colour. Or even better, to have it flash.
    Last edited by gcol; 05-02-2007 at 04:47 AM.

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,729
    You can make the cell red (but not flash) using conditional formatting. If your date is in A1, for example then select A1 and use

    Format > Conditional Formatting > "formula is" option with formula

    =(A1<>"")*(DATEDIF(A1+1,TODAY(),"m")>5)

    select required formatting

  3. #3
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,454
    or conditional format if cell is greater than =TODAY()-182
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

  4. #4
    Registered User
    Join Date
    05-01-2007
    Location
    Lancashire, England
    Posts
    20
    Guys that's brilliant. Thanks very much!!!!

  5. #5
    Registered User
    Join Date
    05-01-2007
    Location
    Lancashire, England
    Posts
    20

    New task

    Further to this, is it possible to have Excel send me an e-mail when these dates pass the 6 month point so I don't have to keep monitoring the spreadsheet?
    Last edited by gcol; 05-02-2007 at 04:47 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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