Welcome to Wall Street Prep! Use code at checkout for 15% off.
Wharton & Wall Street Prep Certificates
Now Enrolling for September 2024 for September 2024
Private EquityReal Estate Investing
Hedge Fund InvestingFP&A
Wharton & Wall Street Prep Certificates:
Enrollment for September 2024 is Open
Wall Street Prep

EOMONTH Function

Step-by-Step Guide to Understanding the “EOMONTH” Function in Excel

Last Updated December 6, 2023

Learn Online Now

EOMONTH Function

How to Use EOMONTH Function in Excel?

The Excel EOMONTH function stands for “End of Month” and is used to determine the end date given a specified time interval.

The EOMONTH function is a built-in feature of Excel with a practical use-case in financial modeling, because the function conveniently automates the process of finding a specific date in either the past or the future.

  • Quarterly Model → The Excel EOMONTH function can be used to construct a quarterly projection model, where each sequential column falls on the last date of the month in the next quarter, i.e. three months from the current month.
  • Annual Model → The Excel EOMONTH function can also be used to build an annual model, where each column falls on the final date of the month in the next year, i.e. twelve months from the current month.

The “EOMONTH” function is classified as a “Date & Time” function in Excel, since its purpose is to retrieve dates based on the user-input arguments.

Excel EOMONTH Function

Excel EOMONTH Function Formula

The Excel EOMONTH function formula is as follows.

=EOMONTH(start_date, months)


  • start-date” → The initial date from which the monthly interval starts.
  • months” → The number of months before or after the starting date.

EOMONTH Function Syntax

The “months” argument specifies the number of months into the future or the past to calculate.

  • Positive Integer → If a positive integer is entered into the “months” argument, the returned date will be forward, i.e. into the future. Therefore, entering “12” would calculate the final date on the month twelve months later from the starting date.
  • Negative Integer → In contrast, a negative integer yields the date on a backward basis, so entering “-12” would result in the final date of the month twelve months ago.

Note that an error message appears if the starting date is not an actual date on the calendar. For example, a hard-coded date entry of February 29 on a non-leap year would not work.

To reduce the potential for any error messages, it is recommended the starting date be an automatic calculation and cell reference, rather than a manual entry.

The returned date values automatically adjust based on the calendar of each year, making the function far more reliable than manual entries.

The ending date is also, at all times, the last day of the month, irrespective of whether the starting date is the final date of the month (e.g. 11/15/2022).

Months Argument: Monthly, Quarterly and Annual Model

The following table describes the “months” argument corresponding to the periodicity of the most common types of financial models, assuming forward-looking projections (i.e. positive integers).

Periodicity Months Description
Monthly Model
  • “12”
  • The final date of the month, after one month has passed.
Quarterly Model
  • “3”
  • The final date of the month, once three months have passed.
Semi-Annual Model
  • “2”
  • The final date of the month, after six months have passed.
Annual Model
  • “1”
  • The final date of the month, after twelve months have passed, i.e. one fiscal year.

EOMONTH Function Calculator – Excel Template

We’ll now move on to a modeling exercise, which you can access by filling out the form below.


By submitting this form, you consent to receive email from Wall Street Prep and agree to our terms of use and privacy policy.


EOMONTH Function Calculation Example

Suppose we’re forecasting the financials of a public company to create a five-year annual model.

The date of the company’s latest quarterly report was in Q-3 of 2022, which was September 30, 2022.

The first step in preparing our 5-year annual financial model is to project the remaining quarter in the current year (i.e. Q-4 of 2022), before shifting to a fiscal year basis.

The arguments in our formula for the Q-4 2022 date cell – the stub period – are the following:


EOMONTH Function Excel Quarterly

Quarterly Model

The returned date is 12/30/2022, the final date marking the end of fiscal year 2022.

In the column to the right, we’ll calculate the sum of the quarterly financials to arrive at our FY-2022 projection (and the cell containing the date will reference the cell from Q-4 2022).

From that point onward, we’ll adjust our monthly input to “12” and drag the formula across for the next four years (and have five projected years in total).

Excel EOMONTH Function Annual

Annual Model

Turbo-charge your time in Excel Used at top investment banks, Wall Street Prep's Excel Crash Course will turn you into an advanced Power User and set you apart from your peers.
Learn More
Inline Feedbacks
View all comments
Learn Excel Online

Become an Excel “Power User.” Used to train new hires at top financial institutions around the world!

Learn More

The Wall Street Prep Quicklesson Series

7 Free Financial Modeling Lessons

Get instant access to video lessons taught by experienced investment bankers. Learn financial statement modeling, DCF, M&A, LBO, Comps and Excel shortcuts.