# EDATE function

Returns the serial number that represents the date that is a specified number of months before or after 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.

## Syntax

EDATE(start_date,months)

Important

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 might occur if dates are entered as text.

Argument

Description

Remarks

start_date

A date that represents the first, or starting, date of the period.

• If a valid date is not entered for this argument, this function returns the #VALUE! error value.

months

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.

• If this argument contains a decimal value, this function ignores the numbers to the right side of the decimal point.

## General remarks

• Excel stores dates as sequential serial numbers so they can be used in calculations. By default, January 1, 1900 is serial number 1, and January 1, 2008 is serial number 39448 because it is 39,448 days after January 1, 1900.

• To view the serial number as a date, select the cell, and then on the View menu, click Formatting Palette. Under Number, on the Format pop-up menu, click Date.

## Example

To make the following example easier to understand, you can copy the data to a blank sheet and then enter the function underneath the data. Do not select the row or column headings (1, 2, 3... A, B, C...) when you copy the sample data to a blank sheet.

 1 2
 A B Date 01/15/2008 Formula Description (Result) =EDATE(A2,1) The date one month after the date in cell A2 (February 15, 2008) =EDATE(A2,-1) The date one month before the date in cell A2 (December 15, 2007) =EDATE(A2,2) The date two months after the date in cell A2 (March 15, 2008)
 Rate this content: