+ Reply to Thread
Results 1 to 4 of 4

Calculating Expiry Dates

Hybrid View

shinyell Calculating Expiry Dates 10-19-2009, 02:54 AM
zbor Re: If formula 10-19-2009, 03:16 AM
DonkeyOte Re: If formula 10-19-2009, 03:17 AM
DonkeyOte Re: Calculating Expiry Dates 10-19-2009, 03:38 AM
  1. #1
    Registered User
    Join Date
    10-19-2009
    Location
    Germany
    MS-Off Ver
    Excel 2007
    Posts
    1

    Calculating Expiry Dates

    Dear friends,

    Please help me, its been so long since the last time I pay attention to my teacher in regards to the =If() Formula.

    I have a problem now, I am currently making a report for our Accreditations and Certifications. Now, my boss wants me to make a list of all our accreditations and certifications. He requested me to make a list which will warn us (the word "Renewal Due" in different color") if our Certificates reach 3 months before the expiry.

    I hope you got my point, again. I need a formula which will warn me, if our certificates will gonna expired.

    For example:
    Certificate No. 15-100
    Issue Date: July 1, 2008
    Expiry Date: June 30, 2011

    Now, the Status between July 1, 2008 and March 31, 2011 will be CURRENT
    If it will reach April 1, 2011 the Status will change to RENEWAL DUE
    If it will reach to July 1, 2011, the status will be EXPIRED

    I hope you can help me. This is making me cry...
    I know, all of you here are experts. I just wish I maintained my notes from school.

    Thanks in advance.


    PS. Sorry if I posted this in the wrong thread.

    Regards,
    shinyell
    3 months before the expiry date (April 1, 2011)
    Last edited by DonkeyOte; 10-19-2009 at 03:35 AM. Reason: title modified for OP

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,053

    Re: If formula

    Please, rename your thread according to the rules
    Never use Merged Cells in Excel

  3. #3
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: If formula

    There are a number of approaches possible here... given the three conditions my own preference would be to use Custom Formatting.

    If we assume your expiry date is set in C1 then

    D1: =IF(ISNUMBER(C1);(TODAY()<EDATE(C1+1;-3))-(TODAY()>C1);"")

    You can then apply a Custom Format to D1 of:

    [Red]"CURRENT";[Blue]"EXPIRED";[Color50]"RENEWAL DUE"
    Last edited by DonkeyOte; 10-19-2009 at 03:40 AM.

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Calculating Expiry Dates

    shinyell, Welcome to the Board.

    As zbor stated there are clear requirements when it comes to assigning titles to threads - this is to aid the search function. I have on this occasion modified your title for you however I would ask that you read through and adhere to the Forum Rules going forward.

+ 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