EOMONTH Function in Excel: Excel is a spreadsheet program that is developed for Windows, Mac, Android, 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.
https://www.microsoft.com/en-in/microsoft-365/excel
Jump To
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.
Syntax
- 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.
=EOMONTH(start_date,months)
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.
Note:
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.
- Then, you have to enter the formula in the cell as shown below to get the result.
- 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)
Input that Causes Error
- If the argument is a non-numeric value (letters and special characters) and then it returns #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 Aawexcel.com.
Video Tutorial
The following video will show you how to apply the EOMONTH function in the spreadsheet with a few examples.
Related Articles
- How to Use Excel FLOOR.MATH Function?
- How to Use Excel FLOOR Function?
- How to Use Excel CEILING.PRECISE Function?
- How to Use Excel CEILING Function?
- How to Use Excel GCD Function?