Calculating Age in Excel 97

K

Kirk

Try this:

=ROUNDDOWN(((TODAY()-B2)/365),0)

Where B2 = the birthdate. Rounding down will take into
account that the birthday hasn't happened yet.

Hope this helps.

Kirk
 
L

Leslie

Kirk,

The value returned when I used this formula is 2/14/1900
0:00. Should I change the cell format on the birthdate
column?

Thanks!
 
C

Chip Pearson

Leslie,

Be sure format the cell as General or as a numeric format. You got
the result 2/14/1900 because dates are stored as the number of
days since 0-Jan-1900, 2/14/1900 is 45 days since 0-Jan-1900.
Therefore, if the actual age is 45, displaying it as a date
results in 2/14/1900.

Format the cell as General.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com (e-mail address removed)
 

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