#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 159
Default Date

Hello All

New to this, so this question may have been answered before - don't
know.

I want to be able to add one calendar month and then 2 days to any
date. Any ideas?

Thanks

R

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,572
Default Date

Try this:

=DATE(YEAR(A1),MONTH(A1)+1,DAY(A1)+2)

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"robzrob" wrote in message
ups.com...
Hello All

New to this, so this question may have been answered before - don't
know.

I want to be able to add one calendar month and then 2 days to any
date. Any ideas?

Thanks

R


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Date

=DATE(YEAR(A1),MONTH(A1)+1,DAY(A1)+2)
[subject to the usual question as to what you mean by adding a calendar
month to a date like 31st January].
--
David Biddulph

"robzrob" wrote in message
ups.com...
Hello All

New to this, so this question may have been answered before - don't
know.

I want to be able to add one calendar month and then 2 days to any
date. Any ideas?

Thanks

R



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 159
Default Date

On Oct 7, 5:58 pm, robzrob wrote:
Hello All

New to this, so this question may have been answered before - don't
know.

I want to be able to add one calendar month and then 2 days to any
date. Any ideas?

Thanks

R


Thanks all. This raises another question now! I was assuming that
adding a calendar month meant any of, for example: 28/01/07, 29/01/07,
30/01/07, 31/01/07 would become 28/02/07 and, for example: 31/08/07
would become 30/09/07, etc, in which case your formula won't work. So
does adding a calendar month mean adding the number of days in the
month the date in question is actually IN - in which case your formula
WILL work? Hmm. (Sorry - the CAPS mean emphasis - not shouting -
don't know how to italicise here.)

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 287
Default Date

So if adding 1 month should never take you beyond the end of the next month try

=EDATE(A1,1)+2

EDATE is part of Analysis ToolPak add-in. To get the same result without the
add-in try

=MIN(DATE(YEAR(A1),MONTH(A1)+1+{1,0},DAY(A1)*{0,1} ))+2



"robzrob" wrote:

On Oct 7, 5:58 pm, robzrob wrote:
Hello All

New to this, so this question may have been answered before - don't
know.

I want to be able to add one calendar month and then 2 days to any
date. Any ideas?

Thanks

R


Thanks all. This raises another question now! I was assuming that
adding a calendar month meant any of, for example: 28/01/07, 29/01/07,
30/01/07, 31/01/07 would become 28/02/07 and, for example: 31/08/07
would become 30/09/07, etc, in which case your formula won't work. So
does adding a calendar month mean adding the number of days in the
month the date in question is actually IN - in which case your formula
WILL work? Hmm. (Sorry - the CAPS mean emphasis - not shouting -
don't know how to italicise here.)




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 159
Default Date

On Oct 7, 7:40 pm, daddylonglegs wrote:
So if adding 1 month should never take you beyond the end of the next month try

=EDATE(A1,1)+2

EDATE is part of Analysis ToolPak add-in. To get the same result without the
add-in try

=MIN(DATE(YEAR(A1),MONTH(A1)+1+{1,0},DAY(A1)*{0,1} ))+2



"robzrob" wrote:
On Oct 7, 5:58 pm, robzrob wrote:
Hello All


New to this, so this question may have been answered before - don't
know.


I want to be able to add one calendar month and then 2 days to any
date. Any ideas?


Thanks


R


Thanks all. This raises another question now! I was assuming that
adding a calendar month meant any of, for example: 28/01/07, 29/01/07,
30/01/07, 31/01/07 would become 28/02/07 and, for example: 31/08/07
would become 30/09/07, etc, in which case your formula won't work. So
does adding a calendar month mean adding the number of days in the
month the date in question is actually IN - in which case your formula
WILL work? Hmm. (Sorry - the CAPS mean emphasis - not shouting -
don't know how to italicise here.)- Hide quoted text -


- Show quoted text -


Thanks DLL - seems to be working - now I can relax!

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
Figuring Vacation Hrs. Earned using Current Date minus Hire Date Sharon Excel Worksheet Functions 6 May 3rd 07 10:32 PM
Report Date - Date Recv = Days Late, but how to rid completed date MS Questionnairess Excel Worksheet Functions 1 January 24th 07 11:05 PM
Excel Formula to calulate number of days passed from date to date K. Mack Excel Discussion (Misc queries) 8 January 4th 07 11:27 PM
Formula for determining if two date columns fall within specific date range Igottabeme Excel Discussion (Misc queries) 1 April 20th 06 10:03 PM
Date updates from worksheet to chart & changes date to a date series! Help!! Jayjg Charts and Charting in Excel 2 January 22nd 05 03:00 PM


All times are GMT +1. The time now is 07:07 AM.

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"