# Calculate retirement date

=EDATE(A1,12*60)

To calculate a retirement date based on a birth date, you can use the EDATE function.

In the example shown, the formula in D6 is:

=EDATE(C6,12*60)

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:

=EDATE(C6,12*60)

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:

12*60

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.*

### Remaining years

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:

### Other uses

This same idea can be used to calculate dates for wide variety of use cases:

- Warranty expiration dates
- Membership expiration dates
- Promotional period end date
- Shelf life expiration
- Inspection dates
- Certification expiration

## Excel Formula Training

Formulas are the key to getting things done in Excel. In this accelerated training, you'll learn how to use formulas to manipulate text, work with dates and times, lookup values with VLOOKUP and INDEX & MATCH, count and sum with criteria, dynamically rank values, and create dynamic ranges. You'll also learn how to troubleshoot, trace errors, and fix problems. Instant access. See details here.