+ Reply to Thread
Results 1 to 3 of 3

Date Calculation

  1. #1
    Registered User
    Join Date
    05-30-2012
    Location
    Salt Lake City, Utah
    MS-Off Ver
    Excel 2016
    Posts
    11

    Date Calculation

    Hi All,

    I have a formula that calculates the percentage of time elapsed after 90 days and 365 days, but when I update the file, the percentage keeps changing and updating. The formula calculates the time elapsed based off of "today's" date, but need it to calculate based off of a fixed date, which I will input in a different cell. Any idea what formula to use to accomplish this or what changes I need to make? Below is the formula I am using. Cell E4 below is the date it is calculating off of. Thanks for your help in advance.

    =IFERROR(TODAY()-E4,0)/90
    =IFERROR(TODAY()-E4,0)/365

    -Ryan

  2. #2
    Registered User
    Join Date
    05-30-2012
    Location
    Salt Lake City, Utah
    MS-Off Ver
    Excel 2016
    Posts
    11

    Re: Date Calculation

    I just decided to go with a simpler formula instead of the IF formula above. I just added in a fixed date and then subtracted the two dates and divided by 90 and 365. That way I don't have to worry about the date updating every time I refresh the page or open it.

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,944

    Re: Date Calculation

    Just to answer your 1st question - TODAY will always show - well, today's date. if you save the file today, with today's date showing, when you open it tomorrow, it will show tomorrow's date. The only way to get a fixed date is to enter it
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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. RE: date calculation, no date displays for blank adjacent cell
    By kittycrickett in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-11-2015, 10:55 AM
  2. Long date/short date conversion and cycle time calculation
    By COGICPENNY in forum Excel General
    Replies: 1
    Last Post: 02-14-2014, 05:17 PM
  3. [SOLVED] If Statement with today's date minus due date for a delay calculation
    By RDFUC in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-26-2013, 02:58 PM
  4. [SOLVED] Need Calculation - If A1=Annual, Anniv. Date for Current Year, else Biennial Date
    By TaxAnnihilator in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-11-2013, 06:06 PM
  5. Replies: 4
    Last Post: 06-02-2012, 11:26 AM
  6. Replies: 1
    Last Post: 04-18-2012, 05:49 PM
  7. subtract a delivery date:Date Calculation to exclude weekends
    By Vim in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-24-2006, 11:00 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