how do I calculate the age of a person

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I need the age of a person in years but if they are less than one year old I
need it in months

I tried to do this myself but find it too hard, can anyone help me

Any help would be greatly appreciated

Susan
 
One way:

=IF(DATEDIF(A1,TODAY(),"y")<1, DATEDIF(A1,TODAY(),"m") & " months",
DATEDIF(A1,TODAY(),"y") & " years")
 
If someone is born on March 15 2006 they are 1 year old, however your formula
returns 11 months.

Dave
 
Dave F said:
If someone is born on March 15 2006 they are 1 year old

Not for another two days they're not

--

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings

(e-mail address removed)
(e-mail address removed) with @tiscali.co.uk
 
Ha, yeah I realized that after I posted that. Was looking at March 15th on
my Outlook calendar and thought that was today.

Dave
 
Thanks that was the answer I was looking for...I apreciate your time...
 

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

Back
Top