If you need to calculate retirement date in Excel, then this tutorials is for you.
To calculate a retirement date based on a birth date, you can use the EDATE function. See example below;
In the example shown, the formula in D6 is:
How this formula works
The EDATE function is fully automatic, and will return a date xx months in the future or past, when given a date and the number of months to traverse.
In this case, we want a date 60 years in the future, starting with a birthdate, so we can write a formula like this for the data in the example:
The date comes from the birth dates in column C. For months, we need the equivalent of 60 years in months. Since you probably don’t know how many months are in 60 years, a nice way to do this is to embed the math for that calculation directly in the formula:
Excel will resolve this to 720, then feed that into EDATE for months. Embedding calculations this way can can help make the assumptions and purpose of an argument clear.
Note: EDATE returns a date in Excel’s serial number format, so make sure you apply date formatting.
The formula used to get remaining years in column E is:
You can use this same approach to calculate age from birthdate.
Just the year, thanks
What if you just want to know the year of retirement? In that case, you can format the date returned by EDATE with the custom number format “yyyy”, or, if you really want only the year, you can wrap the result in the YEAR function like this: