The Excel EDATE Function
Basic DescriptionThe Excel EDATE function returns a date that is a specified number of months before or after a supplied start date. The format of the function is : EDATE( Start_date, Months )
where the arguments are as follows :
ExampleThe following spreadsheet shows examples of the Edate function. The spreadsheet on the left shows the function formats and the spreadsheet on the right shows the results.
Note how you can use negative values for the Months argument, to get a date that is before the supplied Start_date. Also note how the function manages to cope with months that do not contain the same day number as the Start_date. For example, there is no 31st day of November, so the function returns the 30th. Similarly, the function can handle the leap year day - returning 28/02/2009 as the date 12 months after 29/02/2008. Further examples of the Excel Edate function can be found on the Microsoft Office website. Common ErrorIf you get the #NAME? error from your Excel Edate function this is likely to be because the Analysis ToolPak add-in is not enabled. To include the Edate function, enable the Analysis ToolPak add-in through the following steps : In Excel 2003 :
In Excel 2007 :
|
|||||||||||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||||||||||
Copyright © 2008-2010 ExcelFunctions.net |