#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 78
Default Calculating age

Could you please tell me how I could have in column C, the age of a person
from indicating (column A)the birthdate and the other (column B) today's
date. Many thanks ahead
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 70
Default Calculating age

A1 = birth date
B1 = Today()

in C1 enter this = =DATEDIF(A1,B1,"Y")

for more detailed age try this
=DATEDIF(A1,B1,"Y")&" Years "&DATEDIF(A1,B1,"YM")&" Months
"&DATEDIF(A1,B1,"MD")&" Days"


"Pascale" wrote:

Could you please tell me how I could have in column C, the age of a person
from indicating (column A)the birthdate and the other (column B) today's
date. Many thanks ahead

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 78
Default Calculating age

PER-FECT! Thank you VERY MUCH Pascale

"claude jerry" wrote:

A1 = birth date
B1 = Today()

in C1 enter this = =DATEDIF(A1,B1,"Y")

for more detailed age try this
=DATEDIF(A1,B1,"Y")&" Years "&DATEDIF(A1,B1,"YM")&" Months
"&DATEDIF(A1,B1,"MD")&" Days"


"Pascale" wrote:

Could you please tell me how I could have in column C, the age of a person
from indicating (column A)the birthdate and the other (column B) today's
date. Many thanks ahead

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Calculating age

Claude,

be careful with your second formula and as en example try these 2 dates in
a1 and b1

31 Jan 1951
01 Mar 2008
which gives
57 years, 1 months, -1 days


Mike

"claude jerry" wrote:

A1 = birth date
B1 = Today()

in C1 enter this = =DATEDIF(A1,B1,"Y")

for more detailed age try this
=DATEDIF(A1,B1,"Y")&" Years "&DATEDIF(A1,B1,"YM")&" Months
"&DATEDIF(A1,B1,"MD")&" Days"


"Pascale" wrote:

Could you please tell me how I could have in column C, the age of a person
from indicating (column A)the birthdate and the other (column B) today's
date. Many thanks ahead

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 70
Default Calculating age

Mike, Yes you are correct. .I am cornerd
And I dont know How to solve it. . . any help! .
Is it some leap year thing I am missing ?


"Mike H" wrote:

Claude,

be careful with your second formula and as en example try these 2 dates in
a1 and b1

31 Jan 1951
01 Mar 2008
which gives
57 years, 1 months, -1 days


Mike

"claude jerry" wrote:

A1 = birth date
B1 = Today()

in C1 enter this = =DATEDIF(A1,B1,"Y")

for more detailed age try this
=DATEDIF(A1,B1,"Y")&" Years "&DATEDIF(A1,B1,"YM")&" Months
"&DATEDIF(A1,B1,"MD")&" Days"


"Pascale" wrote:

Could you please tell me how I could have in column C, the age of a person
from indicating (column A)the birthdate and the other (column B) today's
date. Many thanks ahead



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Calculating age

Hi,

It's caused by the lengths of the months and if the start month is longer
than the end month then it can go wrong.

Generally I have some difficulty with calculating an age in Y, M , D becuase
the month bit is meaningless. For example someone botn on 1 April is 30 days
old on the 30th and someone born on 1 May is 31 days old on the 31st but if
we do a monthly calculation it makes them both 1 month old and the same age
which isn't correct.

Mike

"claude jerry" wrote:

Mike, Yes you are correct. .I am cornerd
And I dont know How to solve it. . . any help! .
Is it some leap year thing I am missing ?


"Mike H" wrote:

Claude,

be careful with your second formula and as en example try these 2 dates in
a1 and b1

31 Jan 1951
01 Mar 2008
which gives
57 years, 1 months, -1 days


Mike

"claude jerry" wrote:

A1 = birth date
B1 = Today()

in C1 enter this = =DATEDIF(A1,B1,"Y")

for more detailed age try this
=DATEDIF(A1,B1,"Y")&" Years "&DATEDIF(A1,B1,"YM")&" Months
"&DATEDIF(A1,B1,"MD")&" Days"


"Pascale" wrote:

Could you please tell me how I could have in column C, the age of a person
from indicating (column A)the birthdate and the other (column B) today's
date. Many thanks ahead

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 70
Default Calculating age

Thanks for the explaination Mike

"Mike H" wrote:

Hi,

It's caused by the lengths of the months and if the start month is longer
than the end month then it can go wrong.

Generally I have some difficulty with calculating an age in Y, M , D becuase
the month bit is meaningless. For example someone botn on 1 April is 30 days
old on the 30th and someone born on 1 May is 31 days old on the 31st but if
we do a monthly calculation it makes them both 1 month old and the same age
which isn't correct.

Mike

"claude jerry" wrote:

Mike, Yes you are correct. .I am cornerd
And I dont know How to solve it. . . any help! .
Is it some leap year thing I am missing ?


"Mike H" wrote:

Claude,

be careful with your second formula and as en example try these 2 dates in
a1 and b1

31 Jan 1951
01 Mar 2008
which gives
57 years, 1 months, -1 days


Mike

"claude jerry" wrote:

A1 = birth date
B1 = Today()

in C1 enter this = =DATEDIF(A1,B1,"Y")

for more detailed age try this
=DATEDIF(A1,B1,"Y")&" Years "&DATEDIF(A1,B1,"YM")&" Months
"&DATEDIF(A1,B1,"MD")&" Days"


"Pascale" wrote:

Could you please tell me how I could have in column C, the age of a person
from indicating (column A)the birthdate and the other (column B) today's
date. Many thanks ahead

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
calculating enyaw Excel Discussion (Misc queries) 1 August 29th 06 08:37 PM
Calculating APY for CD Starlin Dotson New Users to Excel 3 May 18th 06 12:56 AM
calculating Roger Excel Worksheet Functions 3 February 15th 06 10:53 PM
I need help calculating this. TroyM Charts and Charting in Excel 4 December 28th 05 07:14 PM
Calculating recurring date in following month, calculating # days in that period Walterius Excel Worksheet Functions 6 June 4th 05 11:21 PM


All times are GMT +1. The time now is 03:32 AM.

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

About Us

"It's about Microsoft Excel"