Returns the last day of the month after adding a specified number of months
The EOMONTH Function is one of Excel's Date/Time functions.
The EOMONTH function returns the date serial number for the last day of the month for the current month plus or minus the number of months you have specified.
In financial modelling the EOMONTH function is often used to switch dates between the start of the month and end of the month and to move from one month to the next.
In data analytics and reporting we often use EOMONTH to tag a row with the period or month end date.
Let's take a look at a simple example of the EOMONTH function.
We would like to know the date that is the end of the month one month after 22nd January 2020.
Give me the date of the last day of the month one month from 22/01/2020. Calculated taking 22/01/2020, adding one month and then returning the last day of that month.
Start Date – The date that you wish to reference.
Months – The number of months before (-ve) or after (+ve) the start date.
Read more about the EOMONTH function on the Microsoft support page here.