# Add months to date

=EDATE(date,months)

To add a given number of years to a date, you can use the EDATE function.

In the example shown, the formula in D5 is:

=EDATE(B5,C5)

### How this formula works

The EDATE function is fully automatic. Simply supply a valid date and a number of months and EDATE will return a new date. To subtract months from a date, supply a negative value.

### Adding years

To move forwards and backwards in years from a certain date, you can multiply by 12 inside EDATE like this:

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