#1   Report Post  
Junior Member
 
Posts: 2
Default Date Functions

I need to calculate with a formula the date of someones next birthday based upon a pre-determined date. For example, I need to calculate the date of a person's birthday based upon a start date at work:

Start Date - 12/2/1999
Birth Date - 08/01/1956
Formula Result - 08/01/2000 because that would be the next birthday for this individual based upon the start date of 12/2/1999.

I simply cannot figure out how to do this with a formula - can anyone help? I'm using Excel 2010 in Window's 7.

Thanks,
Robert G
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,045
Default Date Functions

On Wed, 27 Jun 2012 22:28:29 +0000, Robert G wrote:


I need to calculate with a formula the date of someones next birthday
based upon a pre-determined date. For example, I need to calculate the
date of a person's birthday based upon a start date at work:

Start Date - 12/2/1999
Birth Date - 08/01/1956
Formula Result - 08/01/2000 because that would be the next birthday for
this individual based upon the start date of 12/2/1999.

I simply cannot figure out how to do this with a formula - can anyone
help? I'm using Excel 2010 in Window's 7.

Thanks,
Robert G



=DATE(YEAR(Start_Date)+(Start_DateDATE(YEAR(Start _Date),
MONTH(Birth_Date),DAY(Birth_Date))),MONTH(Birth_Da te),DAY(Birth_Date))
  #3   Report Post  
Senior Member
 
Posts: 663
Default

Quote:
Originally Posted by Robert G View Post
I need to calculate with a formula the date of someones next birthday based upon a pre-determined date. For example, I need to calculate the date of a person's birthday based upon a start date at work:

Start Date - 12/2/1999
Birth Date - 08/01/1956
Formula Result - 08/01/2000 because that would be the next birthday for this individual based upon the start date of 12/2/1999.

I simply cannot figure out how to do this with a formula - can anyone help? I'm using Excel 2010 in Window's 7.

Thanks,
Robert G
If the two dates above are in cells B1 & B2, enter the below formula in cell B3

=DATE(YEAR(B1)+1,MONTH(B2),DAY(B2))

Is that what you mean?
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,045
Default Date Functions

On Thu, 28 Jun 2012 06:38:11 +0000, Spencer101 wrote:

If the two dates above are in cells B1 & B2, enter the below formula in
cell B3

=DATE(YEAR(B1)+1,MONTH(B2),DAY(B2))


I thought he wanted the *FIRST* birthday after the Start Date.
  #5   Report Post  
Junior Member
 
Posts: 2
Default

Ron - thank you so much. Your formula does everything I had hoped, including recognizing that the start date may fall before or after the month and day of the birthdate and adjusts accordingly.

Quote:
Originally Posted by Ron Rosenfeld[_2_] View Post
On Wed, 27 Jun 2012 22:28:29 +0000, Robert G wrote:


I need to calculate with a formula the date of someones next birthday
based upon a pre-determined date. For example, I need to calculate the
date of a person's birthday based upon a start date at work:

Start Date - 12/2/1999
Birth Date - 08/01/1956
Formula Result - 08/01/2000 because that would be the next birthday for
this individual based upon the start date of 12/2/1999.

I simply cannot figure out how to do this with a formula - can anyone
help? I'm using Excel 2010 in Window's 7.

Thanks,
Robert G



=DATE(YEAR(Start_Date)+(Start_DateDATE(YEAR(Start _Date),
MONTH(Birth_Date),DAY(Birth_Date))),MONTH(Birth_Da te),DAY(Birth_Date))


  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,045
Default Date Functions

On Thu, 28 Jun 2012 12:43:24 +0000, Robert G wrote:

Ron - thank you so much. Your formula does everything I had hoped,
including recognizing that the start date may fall before or after the
month and day of the birthdate and adjusts accordingly.


Glad to help. Thanks for the feedback.
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
Date Functions Keith Excel Discussion (Misc queries) 2 April 24th 06 06:43 PM
date functions TUNGANA KURMA RAJU Excel Discussion (Misc queries) 6 January 5th 06 04:29 AM
date functions VDan Excel Discussion (Misc queries) 1 August 31st 05 06:24 PM
Date functions John New Users to Excel 3 August 15th 05 08:50 PM
DATE Functions??? malay_ko Excel Programming 2 May 5th 04 09:51 AM


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