உள்ளடக்கத்திற்கு செல்க
Date & TimeIntermediate LevelIntermediate Excel (Lookups & Business Analytics)

How to Use EOMONTH in Excel

Returns the last day of a month, any number of months before or after a given date — the backbone of monthly reporting.

Direct Answer (Quick Summary)

What is EOMONTH in Microsoft Excel?

EOMONTH jumps to the final date of a month. Give it 0 and you get the end of the current month, 1 for next month, -1 for last month. Finance teams use it to build month-end cutoffs, due dates and period labels that always land on a real calendar day.

Pro Tip: EOMONTH also gives you the first day of a month: =EOMONTH(A2,-1)+1. That is more reliable than DATE(YEAR,MONTH,1) when the source is a text date.

Formula Syntax

=EOMONTH(start_date, months)

Arguments Breakdown

ArgumentRequirementPurpose & Details
start_dateRequiredThe reference date.
monthsRequiredHow many months to shift. 0 = current month end, 1 = next month end, -1 = previous month end.

When to Use EOMONTH (Real-World Business Scenarios)

  • 1

    Setting a payment due date of 30 days from month end.

  • 2

    Building a month-end series that always lands on the 28th, 29th, 30th or 31st correctly.

  • 3

    Creating a period label with =TEXT(EOMONTH(A2,0),"mmm yyyy") for a pivot table.

Step-by-Step Practical Business Example

Suppose you have the following dataset in Excel cells A1:D4:

Invoice DateMonth EndDue Date
2026-01-152026-01-312026-03-02
2026-02-102026-02-282026-03-30
2026-03-052026-03-312026-04-30
Applied Formula:Result: 2026-01-31
=EOMONTH(A2,0)

How it works: Returns the last calendar day of the invoice month. February correctly returns the 28th in a non-leap year.

Common Errors & How to Fix Them

#VALUE!

Why it happens: start_date is text that looks like a date but was never converted, common after a CSV import.

Fix: Convert it first with DATEVALUE or Text to Columns, then re-run EOMONTH.

Wrong month returned

Why it happens: The months argument counts calendar months, not days, so 1 from 31 January is 28 or 29 February.

Fix: This is correct behaviour — use EDATE with days if you need an exact day offset instead.

Interactive Formula Lab

Try EOMONTH Live in Your Browser

No need to launch desktop Excel. Practice formulas with real-time feedback in our HyperFormula sandbox.

Open Practice Lab

Frequently Asked Questions (EOMONTH)

What does the EOMONTH formula do in Excel?

EOMONTH jumps to the final date of a month. Give it 0 and you get the end of the current month, 1 for next month, -1 for last month. Finance teams use it to build month-end cutoffs, due dates and period labels that always land on a real calendar day.

What is the syntax for EOMONTH?
=EOMONTH(start_date, months)
What are common mistakes when using EOMONTH?

#VALUE!: start_date is text that looks like a date but was never converted, common after a CSV import. (Convert it first with DATEVALUE or Text to Columns, then re-run EOMONTH.) Wrong month returned: The months argument counts calendar months, not days, so 1 from 31 January is 28 or 29 February. (This is correct behaviour — use EDATE with days if you need an exact day offset instead.)

Keep building your formula toolkit with these date & time functions.

Browse all 41 Excel formulas
Ready to Master Microsoft Excel?

Master EOMONTH in Intermediate Excel

Learn EOMONTH along with our formula library, practice files, and verifiable certificates in our complete curriculum.

Strictly necessary