Convert Decimal Ages to Days Months and Years

Stephen_IV

Well-known Member
Joined
Mar 17, 2003
Messages
1,174
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
I have a list of decimal birthdates that I would like to convert to Days, months, and years.
Any help would be appreciated. Thanks in advance!


17.07123288
16.93150685
16.90136986
16.36712329
16.36712329
16.77808219
16.72054795
16.31780822
15.6109589
11.77260274
12.10410959
16.69315068
5.843835616
5.843835616
16.49589041
14.79726027
15.33150685
15.03561644
 
Mr Excel Questions4.xlsm
AB
12
1314.3863013714 Years 5 Months 20 days
Sheet4
Cell Formulas
RangeFormula
B13B13=TEXT(INT(A13),"0") & " Years " &TEXT(MOD(A13,1)*365,"m")&" Months " &TEXT(MOD(A13,1)*365,"d")&" days"
 
Upvote 0

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Realised the days are completely wrong as I forgot to divide by 12, this should be better.
Cell Formulas
RangeFormula
B2:B25B2=LET(m,MOD(A2,1)*12,INT(A2)&" years "&INT(m)&" months "&INT(MOD(m,1)*365/12)&" Days")
 
Upvote 0

Forum statistics

Threads
1,221,525
Messages
6,160,326
Members
451,637
Latest member
hvp2262

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