Home |
Search |
Today's Posts |
#1
|
|||
|
|||
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
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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
|
|||
|
|||
Quote:
=DATE(YEAR(B1)+1,MONTH(B2),DAY(B2)) Is that what you mean? |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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
|
|||
|
|||
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:
|
#6
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
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 |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Date Functions | Excel Discussion (Misc queries) | |||
date functions | Excel Discussion (Misc queries) | |||
date functions | Excel Discussion (Misc queries) | |||
Date functions | New Users to Excel | |||
DATE Functions??? | Excel Programming |