Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / February 2007

Tip: Looking for answers? Try searching our database.

Calculate age

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Grd - 28 Feb 2007 15:23 GMT
Hi there,

How do I calcuate the age of a person if all I have is their date of birth
in a cell?

Is this possible in excel?

Thanks for your help

Suzanne
JE McGimpsey - 28 Feb 2007 15:35 GMT
One way:

   =DATEDIF(A1,TODAY(),"y")

See

   http://cpearson.com/excel/datedif.htm

for more options.

> Hi there,
>
[quoted text clipped - 6 lines]
>
> Suzanne
Mike - 28 Feb 2007 15:37 GMT
with the DOB in A1 try

=DATEDIF(A1,TODAY,"Y") & " Years, " & DATEDIF(A1,TODAY,"YM") & " Months, " &
DATEDIF(A1,TODAY,"MD") & " Days"

> Hi there,
>
[quoted text clipped - 6 lines]
>
> Suzanne
JE McGimpsey - 28 Feb 2007 15:52 GMT
Note that you need to be careful with this:

First, TODAY should be TODAY(), unless TODAY is a name in the workbook.

Second, given the way the "md" switch works, calculations are based on
the length of the first month. so:

A1:     31 January 2007
A2:     1 March 2007
A3:     =DATEDIF(A1,A2,"Y") & " Years, " & DATEDIF(A1,A2,"YM") & "
Months, " & DATEDIF(A1,A2,"MD") & " Days"

returns

   0 Years, 1 Months, -2 Days

in A3. That's usually not what is desired.

> with the DOB in A1 try
>
> =DATEDIF(A1,TODAY,"Y") & " Years, " & DATEDIF(A1,TODAY,"YM") & " Months, " &
> DATEDIF(A1,TODAY,"MD") & " Days"
Mike - 28 Feb 2007 15:53 GMT
sorry typo

=DATEDIF(A1,TODAY(),"Y") & " Years, " & DATEDIF(A1,TODAY(),"YM") & " Months,
" & DATEDIF(A1,TODAY(),"MD") & " Days"

> with the DOB in A1 try
>
[quoted text clipped - 11 lines]
> >
> > Suzanne
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.