Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Seldum
 
Posts: n/a
Default A simple date calculation question.


Heres my problem. I want to calculate the end date of a contract.

I have the start date fx. 30.05.06 (date field) and I know the contract
runs for a periode of fx. 40 month (not a date field) - how do I get the
end date?

I have looked in the forum and coulden't find an answer. The dates can
variate at the beginning date fx. 10.05.06 but it will always end at
the date when the contract runs out fx. 10.10.06 if the periode = 5
(month).

Is this possible to calculate?

Thanks.


--
Seldum
------------------------------------------------------------------------
Seldum's Profile: http://www.excelforum.com/member.php...o&userid=35793
View this thread: http://www.excelforum.com/showthread...hreadid=555594

  #4   Report Post  
Posted to microsoft.public.excel.misc
Seldum
 
Posts: n/a
Default A simple date calculation question.


Thanks for the answer....


--
Seldum
------------------------------------------------------------------------
Seldum's Profile: http://www.excelforum.com/member.php...o&userid=35793
View this thread: http://www.excelforum.com/showthread...hreadid=555594

  #5   Report Post  
Posted to microsoft.public.excel.misc
Seldum
 
Posts: n/a
Default A simple date calculation question.


Well it works, sorta.

The thing is, I have 14.349 contracts to calculate the end date on, and
typing in the year, month, day manually into the formula
=DATE(YEAR(A1),MONTH(A1)+B1,DAY(A1)) would take me forever.

How can I split up the date field into year, month and day?

If I put in the whole date in the 3 fields in the formula it wont work.


--
Seldum
------------------------------------------------------------------------
Seldum's Profile: http://www.excelforum.com/member.php...o&userid=35793
View this thread: http://www.excelforum.com/showthread...hreadid=555594



  #6   Report Post  
Posted to microsoft.public.excel.misc
Dav
 
Posts: n/a
Default A simple date calculation question.


It is assumed that your date field is in cell A1 and the period is in
cell b1, and possibly the result of the formula would be in c1, if not
you will have to change these, but ifthey are in a list so the next
contract date is a2 and period b2. You can copy the cells down and the
formulas will change to look at the appropraite cells

Regards

Dav


--
Dav
------------------------------------------------------------------------
Dav's Profile: http://www.excelforum.com/member.php...o&userid=27107
View this thread: http://www.excelforum.com/showthread...hreadid=555594

  #7   Report Post  
Posted to microsoft.public.excel.misc
Beat
 
Posts: n/a
Default A simple date calculation question.

Try to understand "Ardus Petus" answer! This is the way to go !

"Seldum" wrote:


Heres my problem. I want to calculate the end date of a contract.

I have the start date fx. 30.05.06 (date field) and I know the contract
runs for a periode of fx. 40 month (not a date field) - how do I get the
end date?

I have looked in the forum and coulden't find an answer. The dates can
variate at the beginning date fx. 10.05.06 but it will always end at
the date when the contract runs out fx. 10.10.06 if the periode = 5
(month).

Is this possible to calculate?

Thanks.


--
Seldum
------------------------------------------------------------------------
Seldum's Profile: http://www.excelforum.com/member.php...o&userid=35793
View this thread: http://www.excelforum.com/showthread...hreadid=555594


  #8   Report Post  
Posted to microsoft.public.excel.misc
Seldum
 
Posts: n/a
Default A simple date calculation question.


Well the date cell is formattet as a date cell.

Heres how I solved the problem:

-Start date, a1: 01.01.06 - date field/cell
Periode, b1: 40 (month)-

QUESTION: HOW DO I CALCULATE THE END DATE?

Well I almost got the excact day +/-2
Answer, c1: = (365/12)*b1+a1

I almost got the excact date using this rather simple formula. Its not
100% precise but in this case its good enough.


--
Seldum
------------------------------------------------------------------------
Seldum's Profile: http://www.excelforum.com/member.php...o&userid=35793
View this thread: http://www.excelforum.com/showthread...hreadid=555594

  #9   Report Post  
Posted to microsoft.public.excel.misc
Beat
 
Posts: n/a
Default A simple date calculation question.

If you have Date (what ever format) in A1, number of months in B1? then copy
past the exact line below in C1:
=DATE(YEAR(A1),MONTH(A1)+B1,DAY(A1))
Maybe you have to adjust by 1 day (1.1.2006...31.12.2006; not 1.1.2007)
then copy past
=DATE(YEAR(A1),MONTH(A1)+B1,DAY(A1)-1)
If you use European XLS format: separate the parameters in DATE with ; not ,

"Seldum" wrote:


Well the date cell is formattet as a date cell.

Heres how I solved the problem:

-Start date, a1: 01.01.06 - date field/cell
Periode, b1: 40 (month)-

QUESTION: HOW DO I CALCULATE THE END DATE?

Well I almost got the excact day +/-2
Answer, c1: = (365/12)*b1+a1

I almost got the excact date using this rather simple formula. Its not
100% precise but in this case its good enough.


--
Seldum
------------------------------------------------------------------------
Seldum's Profile: http://www.excelforum.com/member.php...o&userid=35793
View this thread: http://www.excelforum.com/showthread...hreadid=555594


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about having the date autofill for schedule sheets VegasBurger Excel Worksheet Functions 5 June 16th 06 06:58 PM
Date calculation MIchel Khennafi Excel Worksheet Functions 3 April 27th 06 07:35 PM
Date calculation OCD Cindy Excel Worksheet Functions 3 April 5th 06 06:06 PM
Date Comparison Calculation PAR Excel Worksheet Functions 2 March 22nd 06 05:18 PM
Calculation based on date Jack Excel Discussion (Misc queries) 3 March 22nd 06 08:17 AM


All times are GMT +1. The time now is 06:02 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"