ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Calulating Age Formula (https://www.excelbanter.com/excel-worksheet-functions/41453-calulating-age-formula.html)

YUMBUG

Calulating Age Formula
 
Need Formula for calulating age from birthdate from current date. I have used
=VALUE((2005)-YEAR(birthdate)), but this gives me the age of year as of end
of 2005. I need formula to calulate age as of today's date or by current
month. I want to show the age in the cell next to the birthdate without
using a date reference from another cell.

Thanks.

מיכאל (מיקי) אבידן

Try using: DATEDIF
(no documentation in most Excel versions HELP)
look in he
http://www.cpearson.com/excel/datedif.htm
Michael Avidan
"Office" - forum manager
http://forums.tapuz.co.il/office

"YUMBUG" wrote:

Need Formula for calulating age from birthdate from current date. I have used
=VALUE((2005)-YEAR(birthdate)), but this gives me the age of year as of end
of 2005. I need formula to calulate age as of today's date or by current
month. I want to show the age in the cell next to the birthdate without
using a date reference from another cell.

Thanks.


Harlan Grove

YUMBUG wrote...
Need Formula for calulating age from birthdate from current date. I have used
=VALUE((2005)-YEAR(birthdate)), but this gives me the age of year as of end
of 2005. I need formula to calulate age as of today's date or by current
month. I want to show the age in the cell next to the birthdate without
using a date reference from another cell.


=YEAR(TODAY()-birthdate)-YEAR(0)

would be one way using only documented function calls. Using the
usually undocumented DATEDIF requires something like

=DATEDIF(birthdate,TODAY(),"Y")


YUMBUG

Thank you.

"Harlan Grove" wrote:

YUMBUG wrote...
Need Formula for calulating age from birthdate from current date. I have used
=VALUE((2005)-YEAR(birthdate)), but this gives me the age of year as of end
of 2005. I need formula to calulate age as of today's date or by current
month. I want to show the age in the cell next to the birthdate without
using a date reference from another cell.


=YEAR(TODAY()-birthdate)-YEAR(0)

would be one way using only documented function calls. Using the
usually undocumented DATEDIF requires something like

=DATEDIF(birthdate,TODAY(),"Y")




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

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