+ Reply to Thread
Results 1 to 6 of 6

Need a formula to calculate the end date in refference to the start date

  1. #1
    Registered User
    Join Date
    10-20-2014
    Location
    Bucharest
    MS-Off Ver
    2013
    Posts
    16

    Lightbulb Need a formula to calculate the end date in refference to the start date

    So if i have for example: 30.10.2014 as start date of a period of time, and i have a contract for let`s say 4 years, regarding a club policy, the end date should be 29.11.2018. How can i calculate this automaticly within a formula ?

    Please help me out a little.

  2. #2
    Registered User
    Join Date
    09-10-2014
    Location
    St. Augustine, FL
    MS-Off Ver
    2007
    Posts
    7

    Re: Need a formula to calculate the end date in refference to the start date

    This formula example calculates 4 years (48 months) to whatever is in cell H14. Paste it into whatever cell you want and change the $H14 to whatever cell has the date.

    =IF($H14=""," ",EDATE($H14,48))

  3. #3
    Registered User
    Join Date
    10-20-2014
    Location
    Bucharest
    MS-Off Ver
    2013
    Posts
    16

    Re: Need a formula to calculate the end date in refference to the start date

    Thank you very much for the quick reply, but it still doesn`t give me the value of 29.11.2018
    Should i put the clause Month() +1 and day () -1 ?

    " =IF($G$9=""," ",EDATE($G$9-1,48)" still i haven`t sorted the month

    This might do the trick : =IF($G$9=""," ",EDATE($G$9-1,49)) correct ?
    Last edited by suciulaurentiu; 10-30-2014 at 02:02 PM.

  4. #4
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,850

    Re: Need a formula to calculate the end date in refference to the start date

    I think the first thing to do is review something like this http://www.cpearson.com/excel/datetime.htm to understand how Excel handles dates and times.

    Is this 30.10.2014 the actual way that the data are entered? Is Excel seeing this as a text string or is it actually recognizing it as a date? In my version (2007), even with a cell formatted as dd.mm.yyyy, it does not seem to want to recognize such an entry as a date, preferring to store it as text. As a text string, it will be more difficult to work with, because we will not be able to use Excel's built in calendar to perform the calculation. Perhaps 2013 is better at recognizing alternative date formats, but mine isn't.

    If you decide to use Excel's built in calendar, 4 years from a given date should simply be 30.10.2014 + 3*365 + 1*366 (to account for a leap year) or however many days you decide 4 years should be. If you and excel decide to leave these dates as text strings, then you will need a text formula to extract the year (perhaps =right(cell,4)) then add 4 to it, then concatenate the new year back into the text string.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  5. #5
    Registered User
    Join Date
    10-20-2014
    Location
    Bucharest
    MS-Off Ver
    2013
    Posts
    16

    Re: Need a formula to calculate the end date in refference to the start date

    I am just using date formatting on the cell, every employee enters the date as " 30.10.2014" so i believe the above calculation is correct. I am using excel 2013 yes

  6. #6
    Registered User
    Join Date
    02-17-2012
    Location
    Ottawa, Canada
    MS-Off Ver
    Excel 2007
    Posts
    13

    Re: Need a formula to calculate the end date in refference to the start date

    Excel stores dates as numbers (e.g. October 30, 2014 is stored as 41942) Your dates may be stored as text; if so, they cannot be used for calculations. If you pres <Ctrl `> (the character just to the left of the 1 on a standard American keyboard) it will reveal the formulas and remove the formatting on your spreadsheet; doing the keystroke again will put it all back. If your turn into numerical values, then you use any of the formulas above. If not, you'll have to convert your dates from text to Excel recognized dates.

+ 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. Calculate next due date based on start date frequency and current date
    By ironoverload in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-09-2014, 07:08 AM
  2. Replies: 0
    Last Post: 03-21-2013, 12:22 PM
  3. [SOLVED] Calculate date based on number of weeks or months after start date
    By wotsup in forum Excel General
    Replies: 3
    Last Post: 08-17-2012, 06:00 AM
  4. Replies: 3
    Last Post: 08-14-2012, 05:14 AM
  5. Calculate START date based on duration (work hours) and END date
    By kaaver in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-06-2010, 12:21 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