Calculate Age

C

Chris waller

I have an excel spreadsheet which contains a column (B) which shows dates of
birth, marriages etc in the format dd/mm/yy. Across row 1 starting at column
c is the year 2010, in column d 2011, column d 2012 etc, what I would like is
a formula to calculate the age of the person concerned or anniversary using
these two criteria. I know it can be done as I have asked this previously,
but unfortunately, I cannot find the post. I will be grateful for any help
that may be given.
 
B

Bernard Liengme

Suppose B2 has 31/3/1978 (the actual format is not important)
In C2 enter =DATEDIF(B2,DATE(C$1,MONTH($B2),DAY($B2)),"y")
to find the number of years between B2's date and the same day in C1's year
(in this case the years between 31/3/1978 and 31/3/2010)

The $'s allow this formula to be copied across the row and down the table
More info on DATEDIF see
http://www.cpearson.com/excel/datedif.aspx
best wishes
 
B

Bernard Liengme

Well if you want to be minimalist about it <grin> (did not see the tree for
the forest)
But I think it would be =C$1-YEAR($B2) since C1 has 4-digit number not a
date.
Happy Spring
Bernard
 

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