How to Use the EDATE Function in Excel

Today we are going to explore a powerful function available in both Microsoft Excel and Google Sheets called EDATE. This function is designed to calculate a date that lies a specified number of months away from a given start date, making it invaluable for scheduling and forecasting in spreadsheets.

Basic Syntax

The basic syntax for the EDATE function is:

=EDATE(start_date, months)
  • start_date: The anchor date from which the calculation will commence.
  • months: The number of months to add to (positive value) or subtract from (negative value) the start date.

Example 1: Calculating Future Dates

Consider a situation where you have a start date in cell A1 (e.g., 2022-01-15), and you need to determine the date that is 3 months in the future. The applicable formula would be:

=EDATE(A1, 3)

Executing this formula will return the date that falls 3 months after the date in cell A1.

Example 2: Calculating Past Dates

To find a date that occurs a number of months prior to the start date, enter a negative number for the months. For example, if you need the date that is 2 months before the date in cell A1, enter:

=EDATE(A1, -2)

Example 3: Generating a Series of Dates

The EDATE function can also be used to generate a sequence of dates. By combining EDATE with a sequence of numbers, you can create a set of dates that are evenly spaced over time. For example, to produce a series of dates, each 1 month apart, beginning from the date in cell A1 and continuing in subsequent cells, the formula would be:

=EDATE($A$1, ROW(A1)-ROW($A$1))

These illustrations demonstrate just a few ways in which the EDATE function can streamline date calculations in Excel and Google Sheets. Whether you’re managing project timelines, financial schedules, or analyzing time-sensitive data, EDATE is an essential tool for your spreadsheet needs.

More information: https://support.microsoft.com/en-us/office/edate-function-3c920eb2-6e66-44e7-a1f5-753ae47ee4f5

Other functions
Returns the serial number of a particular date
Calculates the number of days, months, or years between two dates This function is useful in formulas where you need to calculate an age
Converts a date in the form of text to a serial number
Converts a serial number to a day of the month
Returns the number of days between two dates
Calculates the number of days between two dates based on a 360-day year
Returns the serial number of the last day of the month before or after a specified number of months
Converts a serial number to an hour
Returns the number of the ISO week number of the year for a given date
Converts a serial number to a minute
Converts a serial number to a month
Returns the number of whole workdays between two dates
Returns the number of whole workdays between two dates using parameters to indicate which and how many days are weekend days
Returns the serial number of the current date and time
Converts a serial number to a second
Returns the serial number of a particular time
Converts a time in the form of text to a serial number
Returns the serial number of today's date
Converts a serial number to a day of the week
Converts a serial number to a number representing where the week falls numerically with a year
Returns the serial number of the date before or after a specified number of workdays
Returns the serial number of the date before or after a specified number of workdays using parameters to indicate which and how many days are weekend days
Converts a serial number to a year
Returns the year fraction representing the number of whole days between start_date and end_date