30 Advanced Excel Tips for 2026

Excel Champs / Excel Formulas List / How to Add Months to a Date in Excel
By Puneet Gogia (Microsoft MVP)

How to Add Months to a Date in Excel

30+ Advanced Excel Tips for 2026

No spam. Only Excel Stuff. God Promise. 😊

To add months to a date, use =EDATE(A1,1) for one month ahead, =EDATE(A1,3) for three, and =EDATE(A1,6) for six. To go backwards, use a negative number — =EDATE(A1,-6) gives you the date six months earlier. EDATE keeps the same day of the month and handles year rollovers on its own, so adding 3 months to 15-Nov-2026 correctly returns 15-Feb-2027.

Two things to know. If the result shows up as a serial number like 44927, the cell is formatted as General — press Ctrl+1 and set it to Date.

And when the target month is shorter, EDATE moves the date back rather than spilling over: 31-Jan plus one month returns 28-Feb, not 3-Mar. If you always want the last day of the resulting month instead, use EOMONTH: =EOMONTH(A1,1).

Just like years, you can add months in a date to get a future date and subtract to get a date from the past. In this tutorial, we will look at all the methods with multiple examples to do that.

Add Month to a Date (Next Month’s Date)

In the first example, we will write a formula to get the date from the next month, and we will use the EDATE function. As you can see in the following example, we have a date in cell A1, for which we need to get the exact date for the next month.

get-next-month-date

Follow the below steps:

  1. First, enter “=EDATE(” in cell B1.
  2. After that, refer to cell A1, where you have the date.
  3. Now, in the second argument, enter 1.
  4. In the end, type a closing parenthesis and hit enter.

Here you have the date 10-Feb-2022 in cell B1, which is exactly 1 month ahead (next month) of the date we have referred to in the formula.

edate-formula
=EDATE(A1,1)

EDATE returns the date as a serial number (like 44602). If you see a number instead of a date, apply a date format to the cell (Home ➜ Number Format ➜ Short Date).

Add 6 Months to a Date

In the same way, you can add 6 months to a date and get a date that is 6 months ahead of the current date. In the following example, we have the same date in cell A1 that we had earlier.

add-six-months-to-date

Now, to add 6 months to this, you just need to use the following formula.

enter-edate-formula
=EDATE(A1,6)

Add 3 Months to a Date

And in the same way, if you want to add three months, use 3 in the second argument.

add-three-months-to-date
=EDATE(A1,3)

Subtract Months from a Date

Now let’s say you want to subtract months from a date. In this case, you just need to use a negative number in the second argument (month).

subtract-months-from-date

In the following example, we have used -6 in the month argument, and we have the date 10-Jul-21, which is exactly 6 months back from 10-Jan-22.

=EDATE(A1,-6)

Add Months from a Cell

Instead of typing the number of months in the formula, you can refer to a cell that has it. In the following formula, the date is in cell A1 and the number of months is in cell B1, so you can change B1 to get a new date without editing the formula:

=EDATE(A1,B1)

You can also use EDATE to add years: multiply the years by 12. The following formula adds 2 years to the date in A1:

=EDATE(A1,12*2)

Adding Months to the End of a Month

When the date is at the end of a month, and the result month has fewer days, EDATE returns the last day of that month. For example, 31-Jan-2024 plus one month gives 29-Feb-2024, and 31-Jan-2023 plus one month gives 28-Feb-2023.

That’s why EDATE is better than the DATE formula below, which also adds a month but rolls the extra days over into the next month. For 31-Jan-2024, it returns 2-Mar-2024:

=DATE(YEAR(A1),MONTH(A1)+1,DAY(A1))

And if you want the last day of the next month instead, use EOMONTH. For 10-Jan-2022 in A1, the following formula returns 28-Feb-2022:

=EOMONTH(A1,1)

Frequently Asked Questions

Why does EDATE return the #VALUE! error?

The date in the first argument isn’t a real date. It’s usually a date stored as text. Convert it to a date first (for example, with Data ➜ Text to Columns or DATEVALUE), and then use EDATE.

Can I add half a month with EDATE?

No. EDATE only takes whole months and drops the decimal part, so 1.9 works as 1. To add days as well, add them after EDATE, like EDATE(A1,1)+15.

Does EDATE work in Google Sheets?

Yes. EDATE works the same way in Google Sheets, Excel for Mac and Excel for the web.

Puneet Gogia

Written by

Puneet Gogia

Microsoft MVP — Excel · Founder, Excel Champs

Twelve years of teaching Excel, and a decade before that using it as a data analyst. Every tutorial here is written from a file I actually built.

3M+ readers helped
1,000+ tutorials written
Since 2015 teaching Excel

Leave a Comment