Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Joan
 
Posts: n/a
Default Excel Adding years or months to a date

I want to be able to add months or years to a date.

For example 25/4/05 + 9 months
25/4/05 + 15 years.

I am using Excel 2000.
  #2   Report Post  
Jason Morin
 
Posts: n/a
Default

The standard way is:

=DATE(YEAR(A1),MONTH(A1)+9,DAY(A1))

to add 9 months. For 15 years try:

=DATE(YEAR(A1)+15,MONTH(A1),DAY(A1))

HTH
Jason
Atlanta, GA


"Joan" wrote:

I want to be able to add months or years to a date.

For example 25/4/05 + 9 months
25/4/05 + 15 years.

I am using Excel 2000.

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

On Mon, 25 Apr 2005 06:54:03 -0700, "Joan"
wrote:

I want to be able to add months or years to a date.

For example 25/4/05 + 9 months
25/4/05 + 15 years.

I am using Excel 2000.


One of the issues in adding years or months (as opposed to days or weeks) is
that all months and all years do not have the same number of days.

So you are always dealing with the issue of 31 Jan + 1 month = ???

One convention is to not allow a rollover to the subsequent month -- so the
answer to the above would be 28 Feb or 29 Feb; but not 3 Mar.

If that is what you want, then the EDATE function would work.

=EDATE(start_date,months)

and just equate a year to 12 months.

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

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.


If you don't want to add the ATP, you can mimic it in a complex worksheet
function. Post back if that is what you would prefer.


--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
Adding hours to a date Rich Excel Worksheet Functions 6 November 28th 06 08:50 PM
Despite formatting a column in Excel 2002 worksheet as Short Date. Pete Whalley Excel Discussion (Misc queries) 2 February 7th 05 06:17 PM
sum automatically from last 12 months based on current date CDSchomaker Excel Worksheet Functions 2 December 30th 04 05:28 PM
Auto date changing in Excel is maddening brhicks Charts and Charting in Excel 3 December 16th 04 02:54 PM
Creating a Date Selector in Excel VBA? Mark Excel Discussion (Misc queries) 0 November 25th 04 10:59 PM


All times are GMT +1. The time now is 10:53 PM.

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

About Us

"It's about Microsoft Excel"