EDATE Function in Excel: Add or Subtract Months From a Date

EDATE Function in Excel: Add or Subtract Months From a Date featured illustration

πŸ“Ž This article includes 2 downloadable practice files ↓

⏱ 2 min readUpdated 5 October 2026

Date & TimeLevel: IntermediateAvailable in: Excel 2007+

In this article
  1. Syntax
  2. Examples
  3. Example 1
  4. Example 2
  5. EDATE in practice
  6. Where you will use it
  7. Worked example
  8. Mistakes people make
  9. Related functions
  10. Continue learning

EDATE returns the same day a number of months before or after a date β€” ideal for due dates, renewals and EMIs.

Advertisement

Syntax

=EDATE(start_date, months)
Argument What it means
start_date A real date.
months Positive to go forward, negative to go back.

Examples

Example 1

=EDATE(A2, 12)

Warranty end one year later.

Example 2

=EDATE(A2, -1)

Same day last month.

πŸ’‘ From 31-Jan, EDATE(…,1) returns 28/29-Feb β€” it never spills into March.

EDATE in practice

Where you will use it

  • EMI due dates every month
  • Warranty or subscription expiry after N months
  • Probation end dates

Worked example

31 January + 1 month gives 28 February (the last valid day).

StartMonthsFormulaResult
31-Jan-20261=TEXT(EDATE(A2,B2),"dd-mmm-yyyy")28-Feb-2026
01-Apr-202612=TEXT(EDATE(A3,B3),"dd-mmm-yyyy")01-Apr-2027
04-Oct-2026-3=TEXT(EDATE(A4,B4),"dd-mmm-yyyy")04-Jul-2026

Results calculated in Excel.

Mistakes people make

MistakeWhat to do instead
Adding 30 days insteadMonths have different lengths; EDATE keeps the same day number
Result shows as a numberFormat as a date

EOMONTH Β· DATE Β· DATEDIF

πŸ“š Part of the free Excel course: Beginner β†’ Expert Β· Try it in the Formula Lab or ask the AI Helper.

⚑ Interactive Practice Lab & Formula Tester:

Test formulas dynamically in our web formula laboratory or download the companion Excel workbook.

πŸ“Ž Practice files for this article

⬇ Download all 2 files (ZIP Β· 37 KB)

  • πŸ“—
    Date scenarios workbookMonth maths, financial-year start, working days with holidays β€” with PASS/FAIL checks and the 2 most common date mistakes.
    ⬇ XLSX Β· 8 KB
  • πŸ“—
    Practice workbook: Dates & times22 tasks on realistic sales data β€” type your formula, the Check column turns green when it is right. Answers sheet included.
    ⬇ XLSX Β· 34 KB

Free to use for learning. Files with macros (.bas) are plain text β€” import them with Alt+F11 β†’ File β†’ Import File, and always test on a copy.

✨ Ask AI about this article

Stuck on a step? Ask a question and the AI answers using this article.

Free Β· AI can be wrong