Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8
Default How do I calculate a persn's age in years & months in Excel?

I need to calculate a person's age at a given date in years and months (ie
not 23.8years).

If I cannot calculate in yeras and months I need to be able to round down
the year (ie if age comes out at 23.8 I need it to display 23 NOT 24)

Date of birth in column A, other date in column C

Thank-you

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 698
Default How do I calculate a persn's age in years & months in Excel?

See Chip Pearson's coverage of the DATEDIF function:
http://www.cpearson.com/excel/datedif.htm

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"Lmurraz" wrote:

I need to calculate a person's age at a given date in years and months (ie
not 23.8years).

If I cannot calculate in yeras and months I need to be able to round down
the year (ie if age comes out at 23.8 I need it to display 23 NOT 24)

Date of birth in column A, other date in column C

Thank-you

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default How do I calculate a persn's age in years & months in Excel?

One way

In say, D2:
=IF(OR(A2="",C2=""),"",DATEDIF(A2,C2,"y"))
Copy down to return the years.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Lmurraz" wrote:
I need to calculate a person's age at a given date in years and months (ie
not 23.8years).

If I cannot calculate in yeras and months I need to be able to round down
the year (ie if age comes out at 23.8 I need it to display 23 NOT 24)

Date of birth in column A, other date in column C

Thank-you

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,202
Default How do I calculate a persn's age in years & months in Excel?

I need to calculate a person's age at a given date in years and months (ie
not 23.8years).

If I cannot calculate in yeras and months I need to be able to round down
the year (ie if age comes out at 23.8 I need it to display 23 NOT 24)

Date of birth in column A, other date in column C


This should do it...

=DATEDIF(A1,C1,"y")&" years, "&DATEDIF(A1,C1,"ym")&" months"

although months don't switch over until the actual day. That is, for today
(June 30, 2007), someone born on January 30th or earlier will show X years
and 5 months; but if they were born on January 31st, they would show as X
years and 4 months... the 4 wouldn't become 5 until tomorrow (one day later
when the days match up).

Rick


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8
Default How do I calculate a persn's age in years & months in Excel?

This was extremely helpful.

"Ron Coderre" wrote:

See Chip Pearson's coverage of the DATEDIF function:
http://www.cpearson.com/excel/datedif.htm

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"Lmurraz" wrote:

I need to calculate a person's age at a given date in years and months (ie
not 23.8years).

If I cannot calculate in yeras and months I need to be able to round down
the year (ie if age comes out at 23.8 I need it to display 23 NOT 24)

Date of birth in column A, other date in column C

Thank-you

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
formula to calculate age at a given date in years and months? sjric2 Excel Discussion (Misc queries) 3 February 18th 07 08:51 PM
how do i calculate age in term of years, months, days shan Excel Worksheet Functions 3 March 15th 06 05:58 AM
Calculate Age in Years and Months? Grd New Users to Excel 1 February 15th 06 05:07 PM
how to calculate years, months by using one formula srinivasa rao Charts and Charting in Excel 2 April 15th 05 08:28 AM
Calculate months and years Ned Ludd Excel Discussion (Misc queries) 5 December 10th 04 01:57 PM


All times are GMT +1. The time now is 10:09 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"