The EDATE function in Excel is used to add or subtract a specific number of months from a date. It is useful for calculating due dates, renewal dates, project timelines, and payment schedules. In this article, you will learn how to use EDATE formula in Excel.
Key Takeaways:
- EDATE adds or subtracts months from a date.
- The function requires a start date and the number of months.
- Positive numbers move the date forward.
- Negative numbers move the date backward.
- EDATE can be combined with other Excel functions for advanced calculations.
Table of Contents
Introduction to EDATE Formula in Excel
What is the EDATE Formula?
The EDATE Function is an incredibly handy tool within Excel that simplifies your date-related calculations. This function effortlessly adds a specified number of months to any given date, providing you with a new date, known as a serial date.
Whether you are looking at the past or the future, EDATE is your reliable time machine, instantly taking any date forward or backward by the month count you input. Because the function works with months instead of days, it is often more convenient than manually adjusting dates.
EDATE Syntax
EDATE has two arguments:
- Start_Date: The reference date you begin with.
- Months: An integer representing the number of months you wish to add or subtract.
Understand Return Values and Data Types
In Excel, when you use the EDATE function and input the correct parameters, the return value you’ll get is a serial number representing a date. Excel stores dates as serial numbers for easier calculations. The number 1 represents January 1, 1900, and increases by 1 for each subsequent day.
It is important to format the cell with the returned serial number as a date to make the result human-readable and keep the consistency the same throughout your spreadsheet.
To format the date, select the cell and go to Home > Number Format drop-down > Short Date.
Practical Uses of EDATE in Excel
Date Calculation Examples
Suppose, if you want to know the date one month from January 15, 2011, you can use this formula:
Similarly, if you want to go back in time, you can use this formula:
Integrate EDATE with Other Excel Functions
You can combine the EDATE function with the IF and TODAY functions. To check if a yearly subscription is valid, use this formula:
Combine EDATE with Nested Functions
In advanced scenarios, EDATE becomes even more powerful when nested with other functions like EOMONTH. For example, imagine you want to find the last day of the month, six months after the date in cell A2. Use =EOMONTH(EDATE(A2, 6), 0) to get that date.
Or, if you need to calculate due dates excluding weekends, you can nest EDATE within WORKDAY:
=WORKDAY(EDATE(A2, 1) -1, 1).
Common EDATE Mistakes and How to Avoid Them
Troubleshooting EDATE Errors
Troubleshooting EDATE errors primarily revolves around ensuring that the arguments provided are valid. If you encounter a #NUM! error, it’s likely because your start_date argument is outside the acceptable range of dates that Excel can handle.
The #VALUE! error usually means your start_date isn’t recognized as a valid date by Excel, or the months argument isn’t numeric.
FAQs
What is the EDATE function in Excel?
The EDATE function returns a date that is a specified number of months before or after a start date.
What is the syntax of EDATE?
The syntax is:
=EDATE(start_date, months).
Can EDATE subtract months from a date?
Yes, use a negative number for the months argument.
Why does EDATE return a number instead of a date?
Excel stores dates as serial numbers. Format the cell as a date to display it correctly.
What errors can EDATE return?
EDATE may return #VALUE! or #NUM! if the inputs are invalid.
John Michaloudis is a former accountant and finance analyst at General Electric, a Microsoft MVP since 2020, an Amazon #1 bestselling author of 4 Microsoft Excel books and teacher of Microsoft Excel & Office over at his flagship MyExcelOnline Academy Online Course.









