Calculating Age On Leaving Employment

Phil M

New Member
Joined
Nov 15, 2004
Messages
13
Hi, I want to show the age of our leavers when they left - by subtracting their date of birth from their last day of service. The 2 cells are formatted as UK dates and I want to show the result as their age in years when they left. Years and months would be nice, but years only will be enough.

Can anyone help please?

Thanks in advance.
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Put your two dates in A1 and B1 and the formula in C1 (or change to suit your range)

=DATEDIF(A1,B1,"y")

will give you the difference in years.
Change the y to d and it will give you the result in days
Change the y to m and it will give you the result in months

Colin
 
Upvote 0
Phil, have a look at "Index to 485 articles" at the bottom of the page, theres loads of great stuff there.

Colin
 
Upvote 0
You're not kidding! :) Hadn't spotted either before - my, I am going to be busy... Thanks both for the pointers. :)
 
Upvote 0

Forum statistics

Threads
1,214,641
Messages
6,120,685
Members
448,978
Latest member
rrauni

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