Pinterest Pixel

The Ultimate Guide to EDATE formula in Excel

John Michaloudis
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.

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.

 

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.

EDATE formula in Excel

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.

EDATE formula in Excel

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.

EDATE formula in Excel

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:

EDATE formula in Excel

Similarly, if you want to go back in time, you can use this formula:

EDATE formula in Excel

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:

EDATE formula in Excel

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.

EDATE formula in Excel

Or, if you need to calculate due dates excluding weekends, you can nest EDATE within WORKDAY:

=WORKDAY(EDATE(A2, 1) -1, 1).

EDATE formula in Excel

 

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.

EDATE formula in Excel

The #VALUE! error usually means your start_date isn’t recognized as a valid date by Excel, or the months argument isn’t numeric.

EDATE formula in Excel

 

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.

If you like this Excel tip, please share it


Founder & Chief Inspirational Officer

at

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.

See also  How to Separate Names in Microsoft Excel Easily

Star 30 Days - Full Access Star

One Dollar Trial

$1 Trial for 30 days!

Access for $1

Cancel Anytime

One Dollar Trial
  • Get FULL ACCESS to all our Excel & Office courses, bonuses, and support for just USD $1 today! Enjoy 30 days of learning and expert help.
  • You can CANCEL ANYTIME — no strings attached! Even if it’s on day 29, you won’t be charged again.
  • You'll get to keep all our downloadable Excel E-Books, Workbooks, Templates, and Cheat Sheets - yours to enjoy FOREVER!
  • Practice Workbooks
  • Certificates of Completion
  • 5 Amazing Bonuses
Satisfaction Guaranteed
Accepted paymend methods
Secure checkout

Get Video Training

Advance your Microsoft Excel & Office Skills with the MyExcelOnline Academy!

Dramatically Reduce Repetition, Stress, and Overtime!
Exponentially Increase Your Chances of a Promotion, Pay Raise or New Job!

Learn in as little as 5 minutes a day or on your schedule.

Learn More!

Share to...