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

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
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,223,896
Messages
6,175,260
Members
452,627
Latest member
KitkatToby

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