ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Producing Age Based on Date of Birth (https://www.excelbanter.com/excel-worksheet-functions/58082-producing-age-based-date-birth.html)

MPuser

Producing Age Based on Date of Birth
 

Given I have a cell with a person's date of birth (mm/dd/yyyy) can I
have another cell perform a function where it produces the person's
current age based on their DOB?


--
MPuser

Roger Govier

Producing Age Based on Date of Birth
 
Hi

With their DOB in A1
=DATEDIF(A1,TODAY(),"y") for years
=DATEDIF(A1,TODAY(),"ym") for additional months

="Age today is "&DATEDIF(A1,TODAY(),"y")&" years
"&=DATEDIF(A1,TODAY(),"ym")&" months"

Regards

Roger Govier


MPuser wrote:
Given I have a cell with a person's date of birth (mm/dd/yyyy) can I
have another cell perform a function where it produces the person's
current age based on their DOB?




All times are GMT +1. The time now is 01:10 AM.

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