![]() |
![]() |
|
|||||||
| 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
Posts: 1
|
I would like to know what formula to use to read a date of birth, compare it to the computers date and give and age in years in another column. Can you help me???
|
|
|
|
|
|
#2 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,319
|
Quote:
or =YEARFRAC(A1,TODAY()) The second requires the Analysis Toolpak which can be added, if not installed, via Tools|Add-Ins. Aladin |
|
|
|
|
|
|
#3 |
|
New Member
Join Date: Feb 2002
Posts: 47
|
assume b2 has the date of birth
in cell c2 enter this formula and format the cell as number with 1 decimal point =(NOW()-B3)/365 _________________ Paul [ This Message was edited by: Paul-Johnson on 2002-03-16 10:03 ] |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|