+ Reply to Thread
Results 1 to 6 of 6

Conditional formatting formula to check expired\old dates

  1. #1
    Forum Contributor
    Join Date
    02-20-2011
    Location
    Candada
    MS-Off Ver
    Excel 2013
    Posts
    165

    Conditional formatting formula to check expired\old dates

    Hello everyone. I am trying to find out if there is a conditioning formatting to check dates in column A. If date is a year old than today’s date, than highlight it in red or in column B, place the word expired. Please see attachment for more details.Again, thank you very much for everyone’s help and time. Happy New Year!
    Attached Files Attached Files
    Last edited by Kimston; 12-30-2011 at 02:20 PM. Reason: Problem solved

  2. #2
    Forum Moderator 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: Conditional formatting formula to check expired\old dates

    Hi

    I think that the simplest way to do this, is to use this formula

    =IF(TODAY()>A2+365;"Expired";"")

    Pls take a look to the attachement.

    Hope to helps you
    Attached Files Attached Files
    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 Contributor
    Join Date
    02-20-2011
    Location
    Candada
    MS-Off Ver
    Excel 2013
    Posts
    165

    Thumbs up Re: Conditional formatting formula to check expired\old dates

    This is an excellent formula, which it will help me tremendously. It worked perfectly how I needed it. Now, is it possible to add the word "active" to this formula if date is not older than today’s date? Thank you Fotis for your great help!

  4. #4
    Forum Moderator 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: Conditional formatting formula to check expired\old dates

    Hi again Kimston. Thank you for good words

    Try this formula.

    =IF(TODAY()>A2+365;"Expired";IF(A2<=TODAY();"Active";""))

    Hope to be better now.
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    02-20-2011
    Location
    Candada
    MS-Off Ver
    Excel 2013
    Posts
    165

    Thumbs up Re: Conditional formatting formula to check expired\old dates

    Case solved! Fortis, again, thank you for your time and quick responses.
    Fortis, could I ask you to take a look on the following thread when you have an opportunity? I am stuck on how to get the monthly and daily vacation accrual.
    http://www.excelforum.com/excel-gene...f-service.html
    By the way, Happy New Year to you and your family!

  6. #6
    Forum Moderator 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: Conditional formatting formula to check expired\old dates

    Hi Kimston.

    You are welcome!

    Happy new Year for you and your family too!!

    *I'll take a look to the other thread..

+ 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