#1   Report Post  
bperks
 
Posts: n/a
Default Date Problem's

I am trying to figure out how to take a date (01/01/05) in A1, and
months in A2 (the months could vary from 12 all the way up to 60)and
have A3 show me the actual date format of 01/01/05 + 60 months =
01/01/10 or whatever it would be due to the leap years and all. Thanks
in advance for any help!!!!

Effective Date (A1) 01/01/05
Term in Months (A2) 60
Expiration Date (A3) ________

  #2   Report Post  
FSt1
 
Posts: n/a
Default

hi,
in cell A3 put this....
=EOMONTH(A1,A2)
then format to date.
for your example the results would be 1/31/05.

regards
FSt1
"bperks" wrote:

I am trying to figure out how to take a date (01/01/05) in A1, and
months in A2 (the months could vary from 12 all the way up to 60)and
have A3 show me the actual date format of 01/01/05 + 60 months =
01/01/10 or whatever it would be due to the leap years and all. Thanks
in advance for any help!!!!

Effective Date (A1) 01/01/05
Term in Months (A2) 60
Expiration Date (A3) ________


  #3   Report Post  
Bob Phillips
 
Posts: n/a
Default

=date(year(a1),month(A1)+A2,day(A1))

--

HTH

RP
(remove nothere from the email address if mailing direct)


"bperks" wrote in message
oups.com...
I am trying to figure out how to take a date (01/01/05) in A1, and
months in A2 (the months could vary from 12 all the way up to 60)and
have A3 show me the actual date format of 01/01/05 + 60 months =
01/01/10 or whatever it would be due to the leap years and all. Thanks
in advance for any help!!!!

Effective Date (A1) 01/01/05
Term in Months (A2) 60
Expiration Date (A3) ________



  #4   Report Post  
Paul Sheppard
 
Posts: n/a
Default


bperks Wrote:
I am trying to figure out how to take a date (01/01/05) in A1, and
months in A2 (the months could vary from 12 all the way up to 60)and
have A3 show me the actual date format of 01/01/05 + 60 months =
01/01/10 or whatever it would be due to the leap years and all.
Thanks
in advance for any help!!!!

Effective Date (A1) 01/01/05
Term in Months (A2) 60
Expiration Date (A3) ________


Hi bperks

Try this

In A3 enter =DATE(YEAR(A1),MONTH(A1)+A2,DAY(A1))


--
Paul Sheppard


------------------------------------------------------------------------
Paul Sheppard's Profile: http://www.excelforum.com/member.php...o&userid=24783
View this thread: http://www.excelforum.com/showthread...hreadid=400520

  #5   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default

On Tue, 30 Aug 2005 12:34:29 -0500, Paul Sheppard
wrote:


bperks Wrote:
I am trying to figure out how to take a date (01/01/05) in A1, and
months in A2 (the months could vary from 12 all the way up to 60)and
have A3 show me the actual date format of 01/01/05 + 60 months =
01/01/10 or whatever it would be due to the leap years and all.
Thanks
in advance for any help!!!!

Effective Date (A1) 01/01/05
Term in Months (A2) 60
Expiration Date (A3) ________


Hi bperks

Try this

In A3 enter =DATE(YEAR(A1),MONTH(A1)+A2,DAY(A1))


May be a problem if the DAY in A1 does not exist in the resultant month.

e.g. 49 months after 31 Jan 2005 -- 3 Mar 2009.

The OP might prefer 28 Feb 2009.


--ron


  #6   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default

On 30 Aug 2005 09:50:10 -0700, "bperks" wrote:

I am trying to figure out how to take a date (01/01/05) in A1, and
months in A2 (the months could vary from 12 all the way up to 60)and
have A3 show me the actual date format of 01/01/05 + 60 months =
01/01/10 or whatever it would be due to the leap years and all. Thanks
in advance for any help!!!!

Effective Date (A1) 01/01/05
Term in Months (A2) 60
Expiration Date (A3) ________


=EDATE(A1,A2)

Format as date.

If the EDATE function is not available, and returns the #NAME? error, install
and load the Analysis ToolPak add-in.

How?

On the Tools menu, click Add-Ins.
In the Add-Ins available list, select the Analysis ToolPak box, and then click
OK.
If necessary, follow the instructions in the setup program.



--ron
  #7   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default

On 30 Aug 2005 09:50:10 -0700, "bperks" wrote:

I am trying to figure out how to take a date (01/01/05) in A1, and
months in A2 (the months could vary from 12 all the way up to 60)and
have A3 show me the actual date format of 01/01/05 + 60 months =
01/01/10 or whatever it would be due to the leap years and all. Thanks
in advance for any help!!!!

Effective Date (A1) 01/01/05
Term in Months (A2) 60
Expiration Date (A3) ________


In addition to my previous post, if you do not have/want the analysis tool
pack, an equivalent formula would be:

=IF(MONTH(DATE(YEAR(A1),MONTH(A1)+B1,
DAY(A1)))<MONTH(A1),DATE(YEAR(A1),
MONTH(A1)+B1,DAY(A1))-DAY(DATE(YEAR(
A1),MONTH(A1)+B1,DAY(A1))),DATE(YEAR(
A1),MONTH(A1)+B1,DAY(A1)))

Both this and the EDATE formula assume that One month after January 31 would be
February 28, and not Mar 2 or Mar 3. In other words, they adjust for the
unequal numbers of days in months.


--ron
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
How do I create a schedule from a list of dates ? Gavin Morris Charts and Charting in Excel 2 October 28th 10 04:08 PM
Date problems MrEMann Excel Worksheet Functions 4 August 25th 05 04:42 PM
search for latest date Sue Excel Worksheet Functions 2 August 2nd 05 11:09 PM
time and date problems still Michaela Excel Worksheet Functions 0 February 7th 05 05:31 PM
Date sort problems Graham_Wright Excel Discussion (Misc queries) 2 January 4th 05 05:00 PM


All times are GMT +1. The time now is 10:44 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"