The Excel Eomonth function returns the last day of the month, that is a specified number of months before or after an initial supplied start date.
The syntax of the function is:
where the arguments are as follows:
|start_date||-||The initial date.|
|months||-||The number of months to add to (or subtract from) the start_date, before returning the last day of the resulting month.|
Note that, when supplying the start_date to the function, this should be input as either:
Warning: If you attempt to input Excel date arguments as text, the interpretation of the date may differ, depending on the date system and date interpretation settings on your computer.
The following spreadsheet shows examples of the Eomonth function.
The above examples show how:
Further examples of the Excel Eomonth function can be found on the Microsoft Office website.
If you get an error from the Excel Eomonth function this is likely to be one of the following:
|#VALUE!||-||Occurs if any of the supplied arguments are non-numeric values.|