Returns a date a specified number of months before or after another date. Learn more
EDATE is a function in Google Sheets that calculates the date that is a specified number of months after a given start date. The function syntax is as follows:
EDATE(start_date, months)
Where:
start_date: The starting date for the calculation. months: The number of months to add or subtract from the start date. A positive value for months adds that number of months to the start date, while a negative value subtracts that number of months from the start date.
The EDATE function returns a date that represents the result of adding or subtracting the specified number of months to the start_date. For example, if the start date is January 1, 2023 and the number of months is 3, the EDATE function will return April 1, 2023.
To use the EDATE function, simply enter the start date and the number of months as arguments. For example, to calculate the date that is 6 months after the date in cell A1, you can use the following formula:
=EDATE(A1, 6)
This formula will return a date that is 6 months after the date in cell A1. If cell A1 contains the date January 1, 2023, the formula will return July 1, 2023.