ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How to have Excel cells return age (Y/M/D) based upon DOB (https://www.excelbanter.com/excel-worksheet-functions/114723-how-have-excel-cells-return-age-y-m-d-based-upon-dob.html)

Rob Roy

How to have Excel cells return age (Y/M/D) based upon DOB
 
Based upon a date of birth input, can anyone advise how to populate three
cells with a person's age (cell 1 = years, cell 2 = months, cell 3 = days)
using Excel functions?

Roger Govier

How to have Excel cells return age (Y/M/D) based upon DOB
 
Hi

Take a look at the undocumented Datedif function as clearly explained at
Chip Pearson's site
http://www.cpearson.com/excel/datedif.htm
--
Regards

Roger Govier


"Rob Roy" <Rob wrote in message
...
Based upon a date of birth input, can anyone advise how to populate
three
cells with a person's age (cell 1 = years, cell 2 = months, cell 3 =
days)
using Excel functions?




Bob Phillips

How to have Excel cells return age (Y/M/D) based upon DOB
 
=DATEDIF(A1,TODAY(),"Y")&" years "&DATEDIF(A1,TODAY(),"YM")&" months
"&DATEDIF(A1,TODAY(),"MD")&" days"

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Rob Roy" <Rob wrote in message
...
Based upon a date of birth input, can anyone advise how to populate three
cells with a person's age (cell 1 = years, cell 2 = months, cell 3 = days)
using Excel functions?





All times are GMT +1. The time now is 12:23 PM.

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