
π This article includes 2 downloadable practice files β
In this article
EDATE returns the same day a number of months before or after a date β ideal for due dates, renewals and EMIs.
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.
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).
| Start | Months | Formula | Result |
|---|---|---|---|
| 31-Jan-2026 | 1 | =TEXT(EDATE(A2,B2),"dd-mmm-yyyy") | 28-Feb-2026 |
| 01-Apr-2026 | 12 | =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
| Mistake | What to do instead |
|---|---|
| Adding 30 days instead | Months have different lengths; EDATE keeps the same day number |
| Result shows as a number | Format as a date |
Related functions
EOMONTH Β· DATE Β· DATEDIF
π Part of the free Excel course: Beginner β Expert Β· Try it in the Formula Lab or ask the AI Helper.
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.
Atul (AJ) builds office-automation and local-first AI tools as Atulya AI, and works with Excel, SAP and Oracle EPM every day. He writes about the shortcuts, macros and automations that actually save time β plus the occasional wacky fact. Videos on YouTube: Lazy Automator AI (@LazyAutomatorAI).
More posts by Atul βBuild this skill next
This page is a quick function reference. Use it for syntax, then practise the function in a broader workflow.
Stuck on a step? Ask a question and the AI answers using this article.