EOMONTH(start_date, months)One free generation or explanation per browser, shared across Excel and Google Sheets. Account usage limits apply afterward.
start_date:
The date from which you want to calculate the end of the month. This can be a date value, a cell reference containing a date, or a formula that returns a date.
months:
The number of months before or after the start_date to calculate the end of the month. This can be a positive or negative integer, where positive values indicate future months and negative values indicate past months.
The EOMONTH function in Google Sheets is a useful tool that helps you calculate the last day of the month for a given date. This function is particularly beneficial for financial analysis, project management, and any scenario where you need to determine month-end dates. It allows you to easily manipulate dates and perform calculations based on the end of the month.
In simpler terms, EOMONTH allows you to find the last day of a month, which can be useful for reporting, budgeting, and scheduling.
Imagine you are managing a budget spreadsheet where you need to track expenses and income on a monthly basis.
| Month | Start Date | End Date |
|---|---|---|
| January | 01/01/2023 | |
| February | 02/01/2023 | |
| March | 03/01/2023 |
You want to fill in the End Date column with the last day of each month.
To achieve this, you would use the EOMONTH function as follows:
=EOMONTH(B2, 0)In this formula:
B2 is the cell containing the Start Date for the month.0 indicates that you want the last day of the same month. If you wanted the last day of the next month, you would use 1, and for the previous month, you would use -1.When you apply the EOMONTH formula to the Budget Table, the output would look like this:
| Month | Start Date | End Date |
|---|---|---|
| January | 01/01/2023 | 01/31/2023 |
| February | 02/01/2023 | 02/28/2023 |
| March | 03/01/2023 | 03/31/2023 |
As you can see, the End Date column now accurately reflects the last day of each month.
EOMONTH is beneficial because it simplifies the process of date calculations in spreadsheets. It eliminates the need for manual calculations or complex formulas to determine month-end dates. This function is particularly useful for financial reporting, as it allows for accurate tracking of monthly expenses and income.
EOMONTH is an essential function for anyone working with dates in Google Sheets, providing a straightforward way to enhance date management and reporting capabilities.
Happy spreadsheeting!
You have a financial report where Column A lists transaction dates. You can use EOMONTH to calculate the end of the month for each transaction date in Column B. This helps in summarizing monthly expenses and generating accurate financial statements.
Sign up for Better Analyst and get unlimited AI-powered formula generation, explanations, and advanced data analysis.
Browse our complete library of Google Sheets formula guides
Compare your options
Open a neutral research prompt in the AI tool you already use. Compare capabilities, limitations, and fit before you choose.
AI answers can be incomplete. Check source links, current pricing, and product documentation before deciding.