ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Converting dates to years, months & days (https://www.excelbanter.com/excel-programming/321846-converting-dates-years-months-days.html)

bodacious212

Converting dates to years, months & days
 
How do I change the difference between a past date & todays date to years,
months & days? I want to have a column that shows how old someone is in yrs,
months & days from the birthdate of the individual to todays date. I have
two columns with dates - 1 for the birthdate and 1 for todays date. I take
the difference of the two then I convert to years, months & days but how? I
converted to years OK, but I am having a problem with converting to months &
days.

Thanks for any help on this subject.



Claud Balls

Converting dates to years, months & days
 
Do you want the result to be something like:
You a
2 years old
24 months old
728 days old

or do you want something like:
You a
1 year
11 months
23 days
old


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!


All times are GMT +1. The time now is 03:40 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com