Skip to content

How to Use Excel EOMONTH Function?

Listen to this article.
EOMONTH FunctionPin
EOMONTH Function

EOMONTH Function in Excel: Excel is a spreadsheet program that is developed for WindowsMacAndroid, and iOS. It helps to perform calculations on your PC. The purpose of this software is to do complicated calculations which are difficult to do manually. If you want to get the last day of the specified month in Excel, then we suggest you use the EOMONTH function.

This article describes the explanation, fundamental syntax, and usage of the EOMONTH function in Microsoft Excel.

Excel EOMONTH FunctionPin
Excel EOMONTH Function

Explanation of EOMONTH Function

  • It is one of the built-in functions in Microsoft Excel.
  • The EOMONTH Function returns the last day of the month after adding/subtracting a specified number of months to a date.
  • It is useful while we are calculating due dates, maturity dates, and accounts payable/receivable that fall on the last day of the month.


  • Here, you will see the syntax of the EOMONTH function.
  • To apply this function on your spreadsheet, you have to select a cell and enter the formula in the following format.
  • Once you enter the formula, just click on the Enter button to get the result.


Argument Description

  • Start_date (Required): The start date to be used in the calculation.
  • Months (Required): The number of months before/after start_date.
  • Positive (+) value – To get a date in the future.
  • Negative (-) value – To get a date in the past.

If the argument is a non-numeric value (letters and special characters) and then it returns #VALUE! Error.

Practical Examples

Let’s look at some examples of the EOMONTH function and explore how it works in Microsoft Excel.

  • Initially, you have to open your Excel workbook on your PC and launch the worksheet that has data.
  • For instance, we have entered the date in Column B and the month in Column C. And then we will apply the EOMONTH function to get the serial number of the result.
Input RangePin
Input Range
  • Then, you have to enter the formula in the cell as shown below to get the result.
Enter the formulaPin
Enter the formula
  • After entering the formula, you need to click the Enter button to get the output, as shown below. You can drag down the cell to fill the remaining cells.
  • To find the date of the output serial number and then use the following formula.

=TEXT(cell, format)

Formatted resultPin
Formatted result

Input that Causes Error

  • If the argument is a non-numeric value (letters and special characters) and then it returns #VALUE! Error.
Value ErrorPin
Value Error

A Brief Synopsis

In the above short article, we have described the explanation, basic syntax, and usage of the EOMONTH function with a few practical examples. Drop your valuable queries in the below comment section. To learn more about Excel functions, then visit our webpage

Video Tutorial

The following video will show you how to apply the EOMONTH function in the spreadsheet with a few examples.

Related Articles


Leave a Reply

Your email address will not be published. Required fields are marked *

Share to...