Calculation of Age

L

LOUIDEME

How can I calculate "age" from columns of dates rather than individual
rows(single case) either using the following functions COUNTIF, YEARFRAC,
DATEDIF or YEAR
 
C

Chip Pearson

Why can't you just use

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

in a cell and copy it down for as many rows as you need to go.

Cordially,
Chip Pearson
Microsoft MVP 1998 - 2010
Pearson Software Consulting, LLC
www.cpearson.com
[email on web site]
 
S

Sergio De Moura

Many thanks for your reply,but I have not been able to solve my problem based on it. Copying the function to the following cells in a column would not work since the cell designation in the formula would be different (A2,A3,A4,A5...). The other complication is that the age ceiling is not "today" but a variety of dates...(the table concerns age at the time of admission into hospital

DATE O BIRTH DATE O ADMISSION
12/02/1987 03/11/2008
08/12/1965 21/04/1999

Many thanks for your help



LOUIDEME wrote:

Calculation of Age
28-Apr-10

How can I calculate "age" from columns of dates rather than individual
rows(single case) either using the following functions COUNTIF, YEARFRAC,
DATEDIF or YEAR

Previous Posts In This Thread:


Submitted via EggHeadCafe - Software Developer Portal of Choice
BizTalk: Incorporating conditional If / Else Functoid Logic in a map.
http://www.eggheadcafe.com/tutorial...0b-bba39e4bbcf0/biztalk-incorporating-co.aspx
 
D

Dave Peterson

Maybe...

=DATEDIF(A2,B2,"y")



Many thanks for your reply,but I have not been able to solve my problem based on it. Copying the function to the following cells in a column would not work since the cell designation in the formula would be different (A2,A3,A4,A5...). The other complication is that the age ceiling is not "today" but a variety of dates...(the table concerns age at the time of admission into hospital

DATE O BIRTH DATE O ADMISSION
12/02/1987 03/11/2008
08/12/1965 21/04/1999

Many thanks for your help

LOUIDEME wrote:

Calculation of Age
28-Apr-10

How can I calculate "age" from columns of dates rather than individual
rows(single case) either using the following functions COUNTIF, YEARFRAC,
DATEDIF or YEAR

Previous Posts In This Thread:

Submitted via EggHeadCafe - Software Developer Portal of Choice
BizTalk: Incorporating conditional If / Else Functoid Logic in a map.
http://www.eggheadcafe.com/tutorial...0b-bba39e4bbcf0/biztalk-incorporating-co.aspx
 

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