Q: age column

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

Guest

Hello,
I have a birthday column with YYYYMMDD format and I need to create an age
column. How can I do that?
Thanks,
Jim.
 
=INT((TODAY()-DATE(LEFT(A1,4),MONTH(MID(A1,5,2)),DAY(RIGHT(A1,2))))/365)
 
That formula will have errors when the date is near a person's birthday due
to leap year issues.


Try

=DATEDIF(startdate,enddate,"Y") for years

See XL help for more information on this formula.

HTH

PC
 
Hello,
I have a birthday column with YYYYMMDD format and I need to create an age
column. How can I do that?
Thanks,
Jim.

With your birth date in A1:

=DATEDIF(TEXT(A1,"0000\/00\/00"),TODAY(),"y")

will give you the age in years.


--ron
 
Hello,
I have a birthday column with YYYYMMDD format and I need to create an age
column. How can I do that?
Thanks,
Jim.

My previous formula works for US regional settings. I'm not sure about other
countries.


--ron
 

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

Similar Threads

Calculating age 1
Aging Formula 5
Calculating How Old Someone Will Be in a certain year 2
Age Calculation 4
Calculate age 3
Calculate birth date from age 4
Calculating age differences 6
SQL script to solve problem 1

Back
Top