ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Counting Age (https://www.excelbanter.com/excel-discussion-misc-queries/127458-counting-age.html)

Zainuddin Zakaria

Counting Age
 
I would like to have a cell counting a person's age once the birthdate is
typed in another cell.

Example :

Typing the birthdate - 21/4/80 in cell A1, will show the age in cell B1.

a) The format in B1 will be in 'year and month' ex. 27 year 3 month
b) The age is as of Jan 1st .... not present date.

Please help me with the formula to be set in B1.
Thank you.




Lori

Counting Age
 
=DATEDIF(A1,"1-1","y")&" years "&DATEDIF(A1,"1-1","ym")&" months"

On Jan 19, 2:32 pm, "Zainuddin Zakaria" wrote:
I would like to have a cell counting a person's age once the birthdate is
typed in another cell.

Example :

Typing the birthdate - 21/4/80 in cell A1, will show the age in cell B1.

a) The format in B1 will be in 'year and month' ex. 27 year 3 month
b) The age is as of Jan 1st .... not present date.

Please help me with the formula to be set in B1.
Thank you.




All times are GMT +1. The time now is 05:13 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com