Add Months to a Date
Move a date forward or backward by whole calendar months with EDATE, while making the distinction between same-day and month-end scheduling explicit for dependable date-based calculations.
| Add Months to Date, Formula Review | |||||||||
| Use whole-month offsets for renewal dates and compare same-day results with month-end results. | |||||||||
| Editable date inputs | EDATE and EOMONTH review | ||||||||
| Standard start date | Jan 15, 2025 | Example | Formula syntax | Result | Meaning | ||||
| Short-month edge date | Jan 31, 2025 | Three months forward | =EDATE($B$11,3) | Apr 15, 2025 | Forward | ||||
| Three months backward | =EDATE($B$11,-3) | Oct 15, 2024 | Backward | ||||||
| Zero months | =EDATE($B$11,0) | Jan 15, 2025 | Unchanged | ||||||
| Twelve months | =EDATE($B$11,12) | Jan 15, 2026 | One year | ||||||
| Month-end alternative | =EOMONTH($B$11,6) | Jul 31, 2025 | Period end | ||||||
| 31-Jan plus one month | =EDATE($B$12,1) | Feb 28, 2025 | Short month | ||||||
| Reliability checks | |||||||||
| Zero-month EDATE result equals the starting date | OK | ||||||||
| Six-month EOMONTH result equals 31-Jul-2025 | OK | ||||||||
| 31-Jan plus one month resolves to 28-Feb-2025 | OK | ||||||||
Overview
Calculate a date a whole number of calendar months before or after a starting date. EDATE returns the same day of the target month where possible; EOMONTH provides the separate month-end convention. Each formula returns one Excel date.
When to use it
Use it for contract renewals, maturity dates, monthly forecast periods, anniversaries, or review dates defined in calendar months. It suits schedules where the business rule is “six months from the start,” rather than a fixed number of elapsed days.
When not to use it
Use EOMONTH alone when every result must fall at period-end. Use WORKDAY or WORKDAY.INTL when the offset is measured in business days, and DATE when year, month, and day are supplied separately. A coordinated payment or forecast schedule belongs in a Block rather than this single calculation.
Problem
Adding 30 days for each month gives inconsistent dates because months contain 28, 29, 30, or 31 days. The correct calculation must move through calendar months and state what happens when the starting day does not exist in the target month.
Inputs
Input | Location | Requirement |
|---|---|---|
Start date | | Valid Excel date |
Month offset | | Whole number; positive, zero, or negative |
Source data
This formula needs two scalar inputs rather than a row-based dataset:
Start date | Month offset | Intended convention |
|---|---|---|
15-Jan-2025 | 6 | Same day where possible |
Excel must store the start as a date serial, not an unparsed text label. The example schedule in B12:B17 also contains the offsets -3, 0, 1, 3, 6, and 12 for testing.
Calculations
- Read the valid starting date and whole-month offset.
- Use EDATE to move through calendar months while retaining the day number where possible.
- If the target month is shorter, accept its final valid day.
- Use EOMONTH instead when the requirement is explicitly month-end.
Outputs
With the sample inputs, EDATE returns 15-Jul-2025 and EOMONTH returns 31-Jul-2025. Zero leaves the EDATE result unchanged, while a negative offset moves backward. The result is a single date serial displayed with date formatting.
Formula map
Same-day month movement
=EDATE($J$11,$J$12)
Both inputs are absolute references so a copied formula continues to use the same assumptions.
Month-end alternative
=EOMONTH($J$11,$J$12)
This uses the same target month but always returns its final calendar day.
Model checks
The workbook checks that a zero-month EDATE equals the start date, the six-month EOMONTH equals 31-Jul-2025, and 31-Jan-2025 plus one month resolves to 28-Feb-2025. Each check returns OK when the expected behavior is present.
Edge cases
- A zero offset returns the original date with EDATE but that month’s final day with EOMONTH.
- A negative offset moves backward across months and years.
- If the target month lacks the starting day, EDATE uses its last valid day.
- A decimal offset does not represent the intended whole-month scheduling rule.
- Text that Excel cannot recognize as a date produces an error or unreliable coercion.
Common errors
- Adding fixed days: creates drift across unequal months. Replace the arithmetic with EDATE.
- Choosing the wrong convention: EDATE and EOMONTH can return different days in the same target month. Decide whether the requirement is anniversary-style or period-end.
- Moving the anchor when filling: relative references can shift the input cells. Lock shared assumptions with
$references.
Example
For 15-Jan-2025 plus six months, EDATE returns 15-Jul-2025 because July contains the 15th. EOMONTH returns 31-Jul-2025 because the alternative rule asks for period-end. As an independent boundary test, 31-Jan-2025 plus one month returns 28-Feb-2025, the final valid day in February 2025.
Example workbook
Replace the cream inputs in Combined Example!J11:J12. The date outputs are in J14:J15, while the schedule in B12:B17 demonstrates backward, zero, quarterly, half-year, and annual offsets. Formula Review isolates the short-month case and the built-in checks.
Key takeaway
Use a calendar-month function, then choose the day convention deliberately: EDATE preserves the day where possible, while EOMONTH always returns period-end.