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
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
can you give us an example of what the values in the column mean: 17.07123288, excel will interpret that as 17 days 1 hr 42 minutes and some seconds old.
 
Upvote 0
Sorry I was not clear, this is supposed to say 17 years old x, months and x, days. For example what is .07123288 equate to?

17 years 11 months and x days


13.200000000000013 years 2 months
14.386301369863014 years 4 months
11.895890410958911 years 10 months
9.50410958904119 years 5 months
15.808219178082215 years 9 months
13.208219178082213 years 2 months
 
Upvote 0
Try
Cell Formulas
RangeFormula
E3:E20E3=INT(D3)&" years "&INT(12/MOD(D3,2))&" months"


Not too sure about the days bit
 
Upvote 0
Sorry I was not clear, this is supposed to say 17 years old x, months and x, days. For example what is .07123288 equate to?

17 years 11 months and x days


13.200000000000013 years 2 months
14.386301369863014 years 4 months
11.895890410958911 years 10 months
9.50410958904119 years 5 months
15.808219178082215 years 9 months
13.208219178082213 years 2 months
Sorry I was not clear, this is supposed to say 17 years old x, months and x, days. For example what is .07123288 equate to?

17 years 11 months and x days


13.200000000000013 years 2 months
14.386301369863014 years 4 months
11.895890410958911 years 10 months
9.50410958904119 years 5 months
15.808219178082215 years 9 months
13.208219178082213 years 2 months
how do you distinguish between 1 and 11 months, and 2 and 12 months? What are your rounding rules?
 
Upvote 0
Upvote 0
inconsistency in how you figure out months. please give the details.
13.20000000​
13 years 2 months.2 is months
14.38630137​
14 years 4 monthsrounded .38 to 4
11.89589041​
11 years 10 monthshow is .89 rounded to 10?
9.50410959​
9 years 5 monthsround down .5 to 5
15.80821918​
15 years 9 monthsrounded .808 up to 9?
13.20821918​
13 years 2 monthsrounded .208 to 2
 
Upvote 0
The decimal is the portion of 365?
 
Upvote 0
Thanks everyone for the insight. I am horrible with dates and times. Fluff thanks again I think that is on target with the days.
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,221,418
Messages
6,159,791
Members
451,589
Latest member
Harold14

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