+ Reply to Thread
Results 1 to 7 of 7

Formula to calculate a month before a renewal date is due to expire

  1. #1
    Registered User
    Join Date
    11-14-2013
    Location
    Bury St Edmunds
    MS-Off Ver
    Excel 2010
    Posts
    3

    Formula to calculate a month before a renewal date is due to expire

    Hello

    I have created a spreadsheet using Excel 2010 to show when tools have been PAT tested and calibrated, also I have put in dates to show when they are due for renewal. Please can someone advise any formulas I could try to flag up when the renewals are due a month before the renewal date?

    Thank you.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,496

    Re: Formula to calculate a month before a renewal date is due to expire

    One way, for a date in cell A1:

    Formula: copy to clipboard
    Please Login or Register  to view this content.



    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    11-14-2013
    Location
    Bury St Edmunds
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Formula to calculate a month before a renewal date is due to expire

    Thanks for your reply, unfortunately this is not quite what I required. Sorry if I didn't explain it clearly.

    This is the formula I have at the moment.
    =IF(ISBLANK(D3),"-",IF((D3="complete"),"complete",IF((D3>TODAY()),"on track",IF((D3=TODAY()),"due",IF((D3<TODAY()),"overdue")))))

    I want it to flag up that it is 'due' 1 month before the date that is entered in cell D3. So for example if something has an expiry date of 25-Dec-2013, when it gets to the date 25-Nov-2013 and after I want it to be displayed as due? Hope this is clearer and someone can help.

    Thank you.

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,496

    Re: Formula to calculate a month before a renewal date is due to expire

    Have a look at the example workbook attached.

    It uses the formula:

    E3:
    Formula: copy to clipboard
    Please Login or Register  to view this content.



    Cell E1 contains
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by TMS; 11-21-2013 at 09:07 AM. Reason: Amend cell reference

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,496

    Re: Formula to calculate a month before a renewal date is due to expire

    @Charlene C:

    I notice you have been on the board since I offered this solution. As I spent some time putting it together for you, I would be very interested to know if it worked and did what you hoped for.


    Regards, TMS

  6. #6
    Registered User
    Join Date
    11-14-2013
    Location
    Bury St Edmunds
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Formula to calculate a month before a renewal date is due to expire

    Hello

    I have only been on here to view your comments. I have tried this formula earlier and it came up with the below error and I didn't understand what needed to change unfortunately? If you could explain that would be much appreciated.

    Thank you.

    print screen excel warning.docx

  7. #7
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,496

    Re: Formula to calculate a month before a renewal date is due to expire

    Probably my fault. Initially I had said put the formula in cell D3 ... but then realised my mistake and changed it to E3.

    So, putting a formula that refers to cell D3 in cell D3 will get you the circular reference warning.

    Have a look at the example ... you'll see the formula is actually in cell E3.

    Dohhh ... sorry.


    Regards, TMS

+ 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: 14
    Last Post: 04-06-2015, 09:19 PM
  2. How to calculate time (yr,mth,dy) left to expire?
    By tony0710 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-08-2014, 11:37 AM
  3. [SOLVED] how to calculate value in same date for month
    By qasha200 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-12-2013, 08:42 PM
  4. Replies: 2
    Last Post: 08-22-2011, 03:07 PM
  5. Calculate month-end date from date in adjacent cell?
    By Matt D Francis in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-19-2005, 12:06 AM

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