Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Adding months to a date

I need a formula to be able to add months to a date,
Example: If my date is 1/1/00 I want to add 18 (30,42,54, etc) months to it,
and calculate to 7/1/01 (7/1/02, 7/1/03,7/1/04, etc). I can get it to come
out using number of days but because of leap years some of the calculations
come out to 6/30 rather than 7/1. We use Office 03. Please help me!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,886
Default Adding months to a date

Hi

With start date in A1, and with 18 in B2, 30 in B3 etc.
Enter in A2
=DATE(YEAR($A$1),MONTH($A$1)+B2,1)
copy down
Format the cell with your preferred date format

--
Regards

Roger Govier


"miss misty" wrote in message
...
I need a formula to be able to add months to a date,
Example: If my date is 1/1/00 I want to add 18 (30,42,54, etc) months
to it,
and calculate to 7/1/01 (7/1/02, 7/1/03,7/1/04, etc). I can get it to
come
out using number of days but because of leap years some of the
calculations
come out to 6/30 rather than 7/1. We use Office 03. Please help me!



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,101
Default Adding months to a date

Hi Miss Misty

Put this in any cell.

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

Put your date in A1 and the number of months to add in A2 and your done.

Miek

"miss misty" wrote:

I need a formula to be able to add months to a date,
Example: If my date is 1/1/00 I want to add 18 (30,42,54, etc) months to it,
and calculate to 7/1/01 (7/1/02, 7/1/03,7/1/04, etc). I can get it to come
out using number of days but because of leap years some of the calculations
come out to 6/30 rather than 7/1. We use Office 03. Please help me!

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 524
Default Adding months to a date

Thu, 12 Apr 2007 04:40:02 -0700 from Mike
:
"miss misty" wrote:

I need a formula to be able to add months to a date,
Example: If my date is 1/1/00 I want to add 18 (30,42,54, etc)
months to it, and calculate to 7/1/01 (7/1/02, 7/1/03,7/1/04,
etc). I can get it to come out using number of days but because
of leap years some of the calculations come out to 6/30 rather
than 7/1. We use Office 03.


Put this in any cell.

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

Put your date in A1 and the number of months to add in A2 and your done.


What is the result of your formula when cell A1 contains 2007-01-31
and cell A2 contains 1?

I've been trying to think of a really general solution to the OP's
problem, and I can't think of one that's a reasonably short formula.

--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com/
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 6 Months to a Date Excel User Excel Worksheet Functions 8 January 25th 07 12:16 AM
My discovery on adding months and days to a date! Epinn Excel Worksheet Functions 8 October 9th 06 10:27 PM
Adding 6 months to any given date hoyt New Users to Excel 7 July 9th 06 11:14 AM
adding months to an inputted date BLW Excel Discussion (Misc queries) 5 June 9th 05 03:26 AM
Excel Adding years or months to a date Joan Excel Discussion (Misc queries) 2 April 25th 05 08:09 PM


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

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"