Show AllShow All

EDATE

See Also

Returns the serial number that represents the date that is the indicated number of months before or after a specified date (the start_date). Use EDATE to calculate maturity dates or due dates that fall on the same day of the month as the date of issue.

If this function is not available, and returns the #NAME? error, install and load the Analysis ToolPak add-in.

ShowHow?

Syntax

EDATE(start_date,months)

Start_date    is a date that represents the start date. Dates should be entered by using the DATE function, or as results of other formulas or functions. For example, use DATE(2008,5,23) for the 23rd day of May, 2008. Problems can occur if dates are entered as text.

Months    is the number of months before or after start_date. A positive value for months yields a future date; a negative value yields a past date.

Remarks

Example

The example may be easier to understand if you copy it to a blank worksheet.

ShowHow?

 
1
2
A
Date
01/15/2008
Formula Description (Result)
=EDATE(A2,1) The date, one month after the date above (February 15, 2008)
=EDATE(A2,-1) The date, one month before the date above (December 15, 2007)
=EDATE(A2,2) The date, two months after the date above (March 15, 2008)

Note  To view the number as a date, select the cell and click Cells on the Format menu. Click the Number tab, and then click Date in the Category box.