+ Reply to Thread
Results 1 to 5 of 5

Date Conditional Formatting

Hybrid View

  1. #1
    Registered User
    Join Date
    03-25-2012
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    2

    Date Conditional Formatting

    Hi Guys,

    Basically what I am after is a basic table with name/company/Serial/Date.

    What I need is a format by where every date I enter on that particular day is to expire and be highlighted after 1 year.

    So if I put today's date that the contractor had completed a site induction, which is valid for a year, he then came back for example just over a years time he would then be highlighted and need to re-do the induction.

    Also, how would I color code dates that are valid (within a year)?

    Thanks for your time guys.

    Sal

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Date Conditional Formatting

    Hi

    This formula gives you, what you need.

    Use it, in Conditional Format, rules

    PHP Code: 
    =DATE(YEAR(A1)+1.MONTH(A1),DAY(A1)) 
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Date Conditional Formatting

    Hi,
    Conditional format in A1 - change reference as appropriate

    =TODAY()>DATE(YEAR(A1)+1,MONTH(A1),DAY(A1))

    format A1 with whatever format you want to see.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  4. #4
    Registered User
    Join Date
    03-25-2012
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Date Conditional Formatting

    Thanks guys - I suppose I should have asked for the newbie explanation! I'm terrible at this!

    So basically I would highlight the column with the dates in it and then click Conditional formatting, then click new rule. After that which option am I looking to get in

  5. #5
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Date Conditional Formatting

    Take a look to the example....

    See the Conditional Formatting rules..
    Attached Files Attached Files

+ 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