Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Sunny
 
Posts: n/a
Default Excel - Changing value of a date by a number of calendar months

in excel is there a formula that allows me to increase a date by an exact
number of calendar months? e.g., I want to increase the date of 28-Feb-2006
by 3 calendar months to 28-May-2006
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Dave Peterson
 
Posts: n/a
Default Excel - Changing value of a date by a number of calendar months

Maybe...

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

But this may cause trouble when the dates are near the end of the month (Aug 30
& 31 would go to what date?

Sunny wrote:

in excel is there a formula that allows me to increase a date by an exact
number of calendar months? e.g., I want to increase the date of 28-Feb-2006
by 3 calendar months to 28-May-2006


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Sunny
 
Posts: n/a
Default Excel - Changing value of a date by a number of calendar month

Thanks - Just what I was looking for. The problem as you mentioned is minor
(also happens for Feb 29 and leap years!) and when it happens it returns the
next 'real' day.
regards.


"Dave Peterson" wrote:

Maybe...

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

But this may cause trouble when the dates are near the end of the month (Aug 30
& 31 would go to what date?

Sunny wrote:

in excel is there a formula that allows me to increase a date by an exact
number of calendar months? e.g., I want to increase the date of 28-Feb-2006
by 3 calendar months to 28-May-2006


--

Dave Peterson

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
have a calendar pop up in a cell to pick & insert a date in excel helevansen Excel Worksheet Functions 3 September 29th 05 09:37 PM
Excel changing number formatting and source data in graphs on it's own!!! JohnHamer Excel Discussion (Misc queries) 2 September 22nd 05 02:29 PM
Erasing Outlook Calendar from within Excel littlegreenmen1 Excel Discussion (Misc queries) 0 June 15th 05 05:23 PM
Difference in number of Excel NewsGroups Hari Prasadh Excel Discussion (Misc queries) 1 January 25th 05 11:32 AM
Auto date changing in Excel is maddening brhicks Charts and Charting in Excel 3 December 16th 04 02:54 PM


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