ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   How do I compute for a person's age in Excel to show also months?. (https://www.excelbanter.com/new-users-excel/160610-how-do-i-compute-persons-age-excel-show-also-months.html)

Ed Neri

How do I compute for a person's age in Excel to show also months?.
 
I am trying to compute in Excel 2007, the length of service of employees.
While I have been able to computer the years, I would like to see the number
of months and days rather than a fraction of the year.

Bob Phillips

How do I compute for a person's age in Excel to show also months?.
 
=DATEDIF(A1,TODAY(),"Y")&" years, "&DATEDIF(A1,TODAY(),"YM")&" months"

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Ed Neri" <Ed wrote in message
...
I am trying to compute in Excel 2007, the length of service of employees.
While I have been able to computer the years, I would like to see the
number
of months and days rather than a fraction of the year.





All times are GMT +1. The time now is 11:28 AM.

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