Need help with DATE relating to a date of birth

leopardhawk

Well-known Member
Joined
May 31, 2007
Messages
611
Office Version
  1. 2016
Platform
  1. Windows
Hello forum friends, need help with this formula as it is returning a result of 19919 if I enter a date of birth in 'personal information'!E5.

I entered May 6, 1954 in 'personal information'!E5 hoping to see a result of 2019.

Code:
=IF('personal information'!E5=0,"",'personal information'!E5+69)

Appreciate any help or advice on this one. Thanks!
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
19919 is 14 July 54
How do you expect to get 2019?
you are adding 69 days to the date, if that's meant to be years then it will be 2023.
 
Upvote 0
Your formula is adding 69 days to the birthdate, not 69 years. If you are only interested in year value, try this formula...

=IF('personal information'!E5=0,"",Year('personal information'!E5)+69)

but note that adding 69 to the year 1954 will yield 2023, not 2019 (you would have to change the 69 to 65 to get that result).
 
Upvote 0
Rick, thank you so much. That works perfectly. Cheers!

Fluff, I made a mistake.

Cheers all!
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,178
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top