Back to all functions

To calculate the last day of a certain month, you can use the built-in EOMONTH function, which stands for End of Month.
The function consists of two arguments: The date of whose month you would like to find the last day, and the amount of months from that date you would like to apply the function to.
For example, if we want to find the last day of the current month, we enter write equals, EOMONTH, select today’s date, and write zero. We see that February’s last day is the 29th.
To get the last day of the next month, March, we simply replace the 0 with a 1, and we see that it has 31 days.
We can also subtract months from the formula. If we replace the 1 with a -5, we get the last day of the ninth month, September, as 2 – 5 is -3, and 12 – 3 is 9.
This lesson has shown how to get the last day of any month.

Popular courses

The Excel Functions Guide

Deepen and develop your Excel Functions skills

Learn how to efficiently manage databases, clear text in cells, and retrieve values from other tables. The course also walks...

Excel Essentials

Get a better understanding of the Excel workflow

Learn to feel more comfortable in Excel. This course will help quickly develop your knowledge in Excel. Excel Essentials is...

Contact us for assistance in finding right course

Excel for your profession

The Excel course for Procurement and Logistic professionals

Excel for professionals working within procurement and logisticians

In cooperation with organisations and professionals within the industry, Learnesy have developed an Excel course that is adapted to those...

Looking for something custom made? Contact us and we will make sure to meet your requirements.