How do I calculate someone's age?

R

Rubymint

Can someone please advise how I can calculate someones age at a specific date?

I need the result to show in Years, Months and Days

e.g. assuming the target date is 31st January 05, someone born on 25th
January 2000 would show as 5 years, 0 months, 6 Days and someone born on 31st
January 2000 would show as 5 years, 0 months, 0 days.

The calculation needs to take care of leap years otherwise I could calculate
the difference between the date in days, divide by 365 for the number of
Years, Divide the remainder by 12 for the Months and the remainder would be
the days - BUT LEAP YEARS UPSET THIS CALCULATION!!!!
 
R

Rubymint

Just to clarify - I need the function to work in Excel please rather than
Access

Thanks in advance
 
R

Rubymint

Thanks Paul - That works a treat - Funny that the DATEDIF function in Excel
is so hard to find!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top