View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Gary''s Student Gary''s Student is offline
external usenet poster
 
Posts: 11,058
Default Calculate age in years and month or decimal

http://www.cpearson.com/excel/datedif.aspx
--
Gary''s Student - gsnu2007j


"HH" wrote:

I use =INT((TODAY()-D9)/365.25) to calculate the age of a person. No one is
under 8 years old so it works fine. The answer is given in years.

I want the answer to be give as a decimal (i.e. 14.3). Another request is
to have the answer years and months (16 years, 2 months)

How can I get either or both of these done?