Excel Tutorial

Excel Tutorial Shortcut Keys in Excel Formatting in Excel Notes in Excel Formats in Excel Cells and Ranges in Excel Excel Function and Formulas Conditional Formatting in Excel Data Validation in Excel Charts in Excel Excel Ribbon Toolbar Basics of Excel Spell Check in Excel Data Analysis in Excel AutoFill in Excel Goal Seek in Excel Solver in Excel Pivots Table in Excel Go-To Special function in Excel Blank cells in Excel Count Cells with Text in Excel Date and Time in Excel-VBA Dependent Drop-down List in Excel Operators in Excel Dependent Combo box in Excel VBA Error Bar in Microsoft Excel Excel Axes Excel File using Password Excel Unique Values Frequency Distribution in Excel Gauge Chart in Excel Histogram in Excel Sum Every Nth Row in Microsoft Excel SumIF Formula in Microsoft Excel Multiplication in Excel Unique Values in Excel Trendline in Excel Excel Themes Copying formula in Excel Check Marks in Excel Calculating the Last Day of the Month in Excel Calculating Age in Excel Insert Row in Excel

Functions

Excel MAX() Function Excel INT() Function Excel MOD() Function Excel ROUND() Function Excel ROUNDUP() Function Excel AVERAGE() Function Excel COUNT() Function Excel COUNTA() Function Excel COUNTBLANK() Function Excel MIN() Function Excel EDATE() Function Excel EOMONTH() Function Excel HOUR() Function Excel MINUTE() Function Excel SECOND() Function Excel TIME() Function Excel WORKDAY() Function Excel WORKDAY.INTL() Function Excel DAYS() Function Excel WEEKNUM() Function Excel WEEKDAY() Function Excel SMALL() Function Excel LARGE() Function Excel LEFT() Function Excel RIGHT() Function Excel MID() Function Excel FIND() Function Excel SEARCH() Function Excel EXACT() Function Excel SUBSTITUTE() Function Excel TEXT() Function Excel VALUE() Function Excel AND() Function Excel OR() Function Excel IFERROR() Function Excel IF() Function Excel Nested IF’s Function Excel IFNA() Function Excel COUNTIFS() Function Excel VLOOKUP() Function Excel HLOOKUP() Function Excel INDEX() Function Excel MATCH() Function Excel OFFSET () Function Averageif Function in Excel

How To

How to import Microsoft Access data into the Microsoft Excel How to use TODAY function in Excel How to Alphabetize in Excel How to remove duplicate values from excel How to lock cells in Excel How to create drop down in excel How to Delete Row in Microsoft Excel How to Highlight Duplicates Words in the Microsoft Excel How to print titles in Excel How to make use of the Wildcard in Excel How to Make Use of the F-Test in Excel How to make use of the Excel Autofit in Excel How to generate random numbers in Excel How to apply Advanced Filter in Excel How to use Index and Match in Excel

Misc

Absolute Value in Excel Adding Column in Excel Converting Units in Excel Count Characters in Excel Custom Sort Order in Excel Decimals in Excel Division in Excel Locate Maximum Values in Excel Nearest Multiple in Excel Paste Options in Excel Quarter Dates in Excel Row Difference in Excel Separate Strings in Excel Reverse List in Excel Array Formula in Excel What if Analysis Data Table in Excel Excel Shortcut Keys What is a spreadsheet in Excel?

Calculating the Last Day of the Month in Excel

In Microsoft Excel, various functions exist to calculate the date and time from the current date to the past and future. Among multiple tasks in this tutorial, let's see how to calculate the last day of the month in Excel. To calculate this EOMONTH function is used, and EOMONTH is called End of Month, which calculates the expiry date, due date and various other dates.

To find the future date use a positive value, and to see the past dates add a negative value.

Syntax Used

=EOMONTH (start_date, months)

Parameters

start_date – It represents the start date in an Excel serial number format

months – It represents the number of months in the future or past.

How to calculate the first day of the month?

STEP 1: Select a cell in the worksheet and enter the required date in the format mm/dd/yyyy.

STEP 2: Choose another cell (B1) and enter the formula as =DATE (YEAR (cell name), MONTH (cell name), 1).

Calculating the Last Day of the Month

STEP 3: The first day of the month is displayed in cell B1 using a formula.

Here DATE function comprises three arguments such as year, month and day. The YEAR function retrieves the year, and the MONTH function retrieves the month of the date.

How to calculate the last day of the current month?

STEP 1: Select a cell and type the formula as =EOMONTH (TODAY (), 0)

Calculating the Last Day of the Month

STEP 2: The result is displayed in cell A1.

STEP 3: This formula calculates the last day of the current month. Different procedure is used to calculate the last day of the previous or future month.

Calculating the last day of the Month

STEP 1: To calculate the last day of the month, select a cell (A1) and enter the required date.

STEP 2: Choose another cell (B1) and enter the formula as =EOMONTH (cell name, 0).

STEP 3: The last day of the month for the given data is displayed as shown below.

Calculating the Last Day of the Month

Calculating the last day of the month, one month after the present month

Here, this method calculates the last day of the month, which is one month after the current month.

STEP 1: Select a cell in a worksheet and enter the required date.

STEP 2: Choose another cell where the results must be displayed and type the formula as =EOMONTH (cell name, 1).

STEP 3: The result will be displayed one month after the given date.

Calculating the Last Day of the Month

Calculating the last day of the month, one month before the present month

Here, this method calculates the last day of the month, which is one month before the current month.

STEP 1: Select a cell in a worksheet and enter the required date.

STEP 2: Choose another cell where the results must be displayed and type the formula as =EOMONTH (cell name, -1).

STEP 3: The result will be displayed one month before the given date.

Calculating the Last Day of the Month

One can find the previous date from the current date by the user's choice number of the last month. Using the '-' sign reduces the number of months.

Calculating the first day of the month

STEP 1: Select a cell (A1) and enter the required date.

STEP 2: Choose another cell (B1) and enter the formula as =DATE(YEAR(cell name),MONTH(cell name),1).

STEP 3: The first day of the month will be displayed as shown below.

Calculating the Last Day of the Month

Summary

The above tutorial discusses the various formulas to find the present, past and future dates.