Age Function?

hcaoc7

New Member
Joined
Apr 22, 2003
Messages
43
Office Version
  1. 365
Platform
  1. Windows
How can I take a cell with a date in it (A students birthday) and in another cell automatically show how old that student is? (2/18/03 in cell A1 and show 8 in cell A2)

Thanks
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
Thanks, to both of you however, I am getting an error with that formula. When I enter it in I get the error message I click ok and the "y" part of the formula is highlighted. I am using Excel 2003, should have mentioned that in the first place.
 
Upvote 0
Never mind! It works great it was an error on my part.

Thanks!
 
Upvote 0
And if you want to get really fancy, try:

Excel Workbook
AB
1DOBAge
22/18/2003Age is 8 Years, 8 Months and 17 Days
Sheet1
Excel 2007
Cell Formulas
RangeFormula
B2="Age is "&DATEDIF(A2,TODAY(),"y")&" Years, "&DATEDIF(A2,TODAY(),"ym")&" Months and "&DATEDIF(A2,TODAY(),"md")&" Days"
 
Upvote 0

Forum statistics

Threads
1,225,071
Messages
6,182,692
Members
453,132
Latest member
nsnodgrass73

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top