![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Mar 2002
Location: Duluth, Minnesota, USA
Posts: 1
|
I've got a worksheet that includes dates of birth for a list of customers. How can I calculate an age for each customer based on their date of birth?
_________________ [ This Message was edited by: portsabum on 2002-03-03 11:15 ] |
|
|
|
|
|
#2 | |
|
Board Regular
Join Date: Feb 2002
Location: Chippenham, UK
Posts: 136
|
Quote:
In C1 put =B1-A1 Format C1 using Custom: yy" Years "mm" Months "dd"Days"
__________________
Regards, Gary Hewitt-Long |
|
|
|
|
|
|
#3 |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,319
|
> I've got a worksheet that includes dates of birth for a list of customers. How can I calculate an age for each customer based on their date of birth?
Use one of: =DATEDIF(A1,TODAY(),"y") =YEARFRAC(TODAY(),A1) =DATEDIF(A1,TODAY(),"y")&" years, "&DATEDIF(A1,TODAY(),"ym")&" months, "&DATEDIF(A1,TODAY(),"md")&" days" where A1 houses a birth date. Did you know that you could have found the answer by using the 'Search' facilty on this board? [ This Message was edited by: Aladin Akyurek on 2002-03-03 11:26 ] |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|