Adding Months to a Date in Excel: Step-by-Step
In this article
To add months to a date in Excel, use the EDATE function: type =EDATE(A1, 3) to move the date in A1 forward three months, or a negative number to move backward. EDATE is the correct tool because it understands month lengths and end-of-month dates, so 31 January plus one month becomes 28 February (or 29 February in a leap year) rather than spilling into March. Format the result cell as a date if Excel shows a five-digit number instead.
What You'll Need
- Excel on Windows, Mac, or Excel for the web. EDATE works in all of them, including older versions.
- A cell containing a real date, not text that merely looks like a date. If Excel has stored it as text, EDATE returns an error.
- Basic familiarity with typing formulas and dragging the fill handle.
Step-by-Step
- Confirm your source cell holds a real date. Click the cell. If it is right-aligned by default and the formula bar shows something like 15/03/2024 or 3/15/2024, it is a genuine date. If it is left-aligned, Excel is treating it as text and EDATE will fail. Fix it by retyping in a format Excel recognises, or use Data > Text to Columns and choose the date format on the final screen.
- Pick an empty cell for the result. Leave at least one column free so you can compare the original and the new date side by side.
- Type the EDATE formula. Start with an equals sign, then EDATE, an opening bracket, the cell reference, a comma, and the number of months:
=EDATE(A1,3). Use a positive number to go forward and a negative number to go back, for example=EDATE(A1,-6). Close the bracket and press Enter. - Check the result. If you see a number such as 45367 instead of a date, the cell is formatted as General. Select the cell, then use Home > Number Format and choose Short Date or Long Date. You can also press Ctrl+1 (Cmd+1 on Mac) to open Format Cells and pick Date.
- Copy the formula down. Drag the small square at the bottom-right corner of the result cell down the column, or double-click it to fill to the end of the adjacent data. Relative references adjust automatically, so row 2 reads A2, row 3 reads A3, and so on.
- Lock the month count if it lives in one cell. If you keep the number of months in, say, C1 and want every row to use it, write
=EDATE(A1,$C$1). The dollar signs make that reference absolute so it does not shift as you copy down. - Decide whether you want the day preserved. EDATE keeps the same day number where the target month allows it. If you need the last day of the target month regardless of the starting day, use
=EOMONTH(A1,3)instead. - Convert to values if the dates must not change. Select the results, copy them, then use Paste Special > Values to replace the formulas with fixed dates. This is worth doing before you delete the original column or send the file to someone who may edit the source dates.
Common Mistakes
- Adding months with simple arithmetic. A formula like
=A1+90adds days, not months, and gives inconsistent results because months have different lengths. Always use EDATE or EOMONTH for calendar months. - Using DATE with a fixed day. Formulas such as
=DATE(YEAR(A1),MONTH(A1)+3,DAY(A1))break on end-of-month dates: 31 November does not exist, so Excel rolls into December. EDATE avoids this. - Dates stored as text. The most common cause of a #VALUE! error. Check alignment and the formula bar before blaming the formula.
- Forgetting the negative sign for past dates. A positive number always moves forward.
- Formatting the result as text. If the result cell was pre-formatted as Text, the formula may display as a formula string rather than calculating. Set the format to General or Date first, then re-enter the formula.
- Overwriting the source column. Pasting results back over the original dates without using Paste Special > Values leaves formulas that refer to themselves and produce circular reference warnings.
Tips
- Name your month count cell (Formulas > Define Name) so formulas read
=EDATE(A1,MonthsToAdd)and are easier to audit. - Use a helper column for the month count when different rows need different intervals, then fill both columns down together.
- Apply a consistent date format to the whole column before filling, so every result looks the same.
- For a quick visual check, sort the results ascending and confirm the dates increase in the expected pattern, with end-of-month rows landing on the 28th, 29th, 30th, or 31st as appropriate.
- If you are building a schedule, pair EDATE with WORKDAY or NETWORKDAYS to skip weekends and holidays where relevant.
Troubleshooting
You see #VALUE!. The start date is text, or the months argument contains text. Re-enter the date in a recognised format and make sure the second argument is a plain number.
You see #NUM!. The resulting date falls outside the range Excel supports (1 January 1900 to 31 December 9999). Check for a huge month number or a date typed with the wrong year.
The result is a five-digit number. This is a formatting issue, not a calculation error. Format the cell as a date.
The formula shows as text. The cell is formatted as Text, or the formula is missing its leading equals sign. Change the format to General and retype the formula.
EDATE is not recognised. In very old workbooks saved in an older format, EDATE may need the Analysis ToolPak add-in enabled via File > Options > Add-ins. Saving the file as a modern .xlsx usually resolves it.
The date is off by a day or two. Check whether the source cell contains a time value as well as a date. EDATE preserves the time, so 15/03/2024 14:30 plus one month keeps the 14:30. Format as date only, or wrap the formula in INT to strip the time.
If none of that works, retype the formula from scratch in a clean cell rather than editing the existing one; stray spaces or a comma in the wrong place are easy to miss.
Frequently Asked Questions
Can I add months without using EDATE?
Yes, with DATE and MONTH arithmetic, but it mishandles end-of-month dates. EDATE is safer and shorter.
Does EDATE work in Excel for the web and Google Sheets?
Yes. EDATE is available in Excel for the web, Excel on Windows and Mac, and Google Sheets, with the same syntax.
How do I add exactly one month to today's date?
Use =EDATE(TODAY(),1). The result updates each time the sheet recalculates.
Why did 31 January plus one month give 29 February?
EDATE clamps to the last valid day of the target month. In a leap year that is the 29th; otherwise the 28th.
How do I get the last day of a future month?
Use =EOMONTH(A1,3), which returns the final day of the month three months after the date in A1.
Can I add months to a whole column at once?
Yes. Put the formula in the first cell, then double-click the fill handle or drag it down. Every row updates relative to its own source cell.