Skip to content

How to add months to a date in Excel in Excel

Move a date forward or back by a number of months with EDATE, find month ends with EOMONTH, and see why adding 30 days is not the same.

A contract starts on 31 January and runs for one month. When does it end? A subscription renews three months after signup. You need a date that is a whole number of months away, not a number of days.

EDATE is built for it:

=EDATE(A2, B2)

The first argument is the start date, the second is the number of months to add. Use a negative number to go back. EDATE keeps the day of the month where it can, and when the target month is shorter it stops at the last day: 31 January plus one month is 28 February (29 in a leap year), not early March.

Adding days is not a substitute. A2 + B2*30 assumes every month is 30 days, and the answer drifts away from the calendar date within a few months.

EOMONTH returns the last day of the month, a given number of months away: =EOMONTH(A2, B2). Use it for month-end reporting dates and for period boundaries. With 0 months it returns the end of the same month.

A common follow-up is the last day of a term. A twelve-month term starting 1 March ends on 28 February, not 1 March of the next year: =EDATE(A2, B2) - 1.

If you build the date with DATE, DATE(YEAR(A2), MONTH(A2)+B2, DAY(A2)), month overflow rolls into the next month, so 31 January plus one month becomes 3 March. EDATE avoids that.

Results are date serial numbers. If you see numbers like 45716, format the cells as dates on the Home tab. The Dates and finance track covers period dates in depth.

3 ways to do it

1EDATE

=EDATE(A2,B2)

  1. Put the start date in A2 and the number of months in B2.
  2. Type =EDATE(A2,B2) and press Enter. Format the cell as a date.
  3. Use a negative number of months to go back.

2EOMONTH for month ends

=EOMONTH(A2,B2)

  1. Type =EOMONTH(A2,B2) to get the last day of the month, B2 months from the start.
  2. Use 0 for the end of the same month.

3End of a term

=EDATE(A2,B2)-1

  1. Add the months with EDATE, then subtract one day so the term ends the day before it would renew.

Try it yourself

Solve it in the sheet. Every answer is checked, with hints if you need them.

Task 1 of 2

In C2, return the date that is B2 months after the start date in A2. Fill down to C8.

Answer in C2, then it fills down to C8.

C2
A
B
C
D
E
1
Start date
Months
Renewal date
Term ends
2
31-Jan-2025
1
3
01-Mar-2025
12
4
15-May-2025
6
5
31-Aug-2025
3
6
10-Oct-2025
18
7
30-Nov-2025
4
8
01-Dec-2025
2

Learn it properly, one graded sheet at a time.

Dates and financial modelling covers this in lesson 4, Adding months with EDATE.