PC Review


Reply
Thread Tools Rate Thread

calculation of date "10 months from now"

 
 
Wim
Guest
Posts: n/a
 
      15th Mar 2006
1. I want to calculate the date that is 30 months from a date in my
spreadsheet (format: dd/mm/yy). How to do?

2. I want to calculate the date and time that is 1000 hours from a
date in my spreadsheet (format: dd/mm/yy hh:ss). How to do?

Wim

 
Reply With Quote
 
 
 
 
MDBJ
Guest
Posts: n/a
 
      15th Mar 2006
for part one depends on how to recieve results

what if the date would be feb 30th?
what result would you want?

"Wim" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 1. I want to calculate the date that is 30 months from a date in my
> spreadsheet (format: dd/mm/yy). How to do?
>
> 2. I want to calculate the date and time that is 1000 hours from a
> date in my spreadsheet (format: dd/mm/yy hh:ss). How to do?
>
> Wim
>



 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      15th Mar 2006
#1. 10 months or 30 months?

=date(year(a1),month(a1)+10,day(a1))

You may have trouble with end of the months dates like MDBJ wrote.

#2. =a1+(1000/24)
format as date/time


Wim wrote:
>
> 1. I want to calculate the date that is 30 months from a date in my
> spreadsheet (format: dd/mm/yy). How to do?
>
> 2. I want to calculate the date and time that is 1000 hours from a
> date in my spreadsheet (format: dd/mm/yy hh:ss). How to do?
>
> Wim


--

Dave Peterson
 
Reply With Quote
 
SteveG
Guest
Posts: n/a
 
      15th Mar 2006

You could also use the EDATE function.

=EDATE(A1,30)

If A1 was either 8/29/2005,8/30/2005 or 8/31/2005 then it would return
2/29/2008. It would not step up into the next month until your date
was 9/1/2005. I think that solves the issue of the end date being
returned as 2/30.

HTH

Steve


--
SteveG
------------------------------------------------------------------------
SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571
View this thread: http://www.excelforum.com/showthread...hreadid=522618

 
Reply With Quote
 
kcc
Guest
Posts: n/a
 
      16th Mar 2006
I use this function a lot, but one extra note about it;
you have to activate the Analysis ToolPak under
Tools/Add-Ins to use the function. (At least in
version 2002 and before.)
kcc

"SteveG" <(E-Mail Removed)> wrote in
message news:(E-Mail Removed)...
>
> You could also use the EDATE function.
>
> =EDATE(A1,30)
>
> If A1 was either 8/29/2005,8/30/2005 or 8/31/2005 then it would return
> 2/29/2008. It would not step up into the next month until your date
> was 9/1/2005. I think that solves the issue of the end date being
> returned as 2/30.
>
> HTH
>
> Steve
>
>
> --
> SteveG
> ------------------------------------------------------------------------
> SteveG's Profile:
> http://www.excelforum.com/member.php...fo&userid=7571
> View this thread: http://www.excelforum.com/showthread...hreadid=522618
>



 
Reply With Quote
 
Wim
Guest
Posts: n/a
 
      20th Mar 2006
The "=date(year(a1),month(a1)+10,day(a1))" and "=a1+(1000/24)" formulas
from Dave did the trick for me. Thanks a lot to all of you.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Microsoft Excel Misc 2 8th Aug 2008 02:54 AM
Pivot Table: Totals for "Last 12 months" and "Preceding 12 months" kansaskannan@gmail.com Microsoft Excel Programming 3 17th Dec 2006 06:32 AM
How to calculate "number of months" between two given date? =?Utf-8?B?bmdpbmhvbmc=?= Microsoft Excel Worksheet Functions 23 17th Apr 2006 03:47 PM
Suggestion - Relative "Go To Date" (Eg Go To 3 Months From Date X) =?Utf-8?B?TW5hdmFn?= Microsoft Outlook Calendar 3 10th Aug 2005 06:51 AM
How to calculate 12 months from "Date Added" field Sandi Gauthier Microsoft Excel Worksheet Functions 2 19th Nov 2003 06:01 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:48 PM.