+ Reply to Thread
Results 1 to 6 of 6

DATE EXPIRATION Formula

  1. #1
    Registered User
    Join Date
    11-15-2012
    Location
    Southeast
    MS-Off Ver
    Excel 2007
    Posts
    7

    DATE EXPIRATION Formula

    I have a cell that reads like this 2013 08 28. In another cell I need it to read 2023 08 27 (10 years ahead, 1 day behind). I have used a date formula =DATE(YEAR(A1)+10,MONTH(A1),DAY(A1)-1). However since the YYYY MM DD is custom, the formula does not understand the date format. Is there a formula that will fix this issue?

    Thanks!

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: DATE EXPIRATION Formula

    Is A1 a formula? Can you post that formula?

    Try
    =EDATE(SUBSTITUTE(A1," ","/"),12*10)-1
    Last edited by Jonmo1; 08-28-2013 at 02:57 PM.

  3. #3
    Registered User
    Join Date
    11-15-2012
    Location
    Southeast
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: DATE EXPIRATION Formula

    A1 is not a formula.

  4. #4
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: DATE EXPIRATION Formula

    Check the formula I added to my post (I added it probably after you posted your response.)

  5. #5
    Registered User
    Join Date
    11-15-2012
    Location
    Southeast
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: DATE EXPIRATION Formula

    Thanks! that formula helped.

  6. #6
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: DATE EXPIRATION Formula

    You're welcome.

+ 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. Excel formula to figure out expiration date in the future
    By AQUANX4 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-05-2013, 09:05 AM
  2. Expiration Date Formula
    By waldronl in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-31-2013, 06:52 PM
  3. formula for expiration date invoice
    By clausule in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-01-2011, 02:48 PM
  4. Excel 2007 : Need a formula for calculating a Due/Expiration Date
    By Roderic McCullough in forum Excel General
    Replies: 1
    Last Post: 03-10-2011, 04:47 PM

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