EOMONTH Formula

Returns the last day of the month that is months_offset months after day.

Syntax

Formula structure

Source: Quadratic docs
=EOMONTH(day, [months_offset])
day
Required: Yes

Required argument used by the EOMONTH formula.

[months_offset]
Required: No

Optional argument used by the EOMONTH formula.

Examples for the eomonth formula

Copy these examples into a spreadsheet and adjust the ranges for your own data.

EOMONTH syntax pattern

=EOMONTH(day, [months_offset])

Use this EOMONTH pattern as the starting point for your spreadsheet formula.

EOMONTH in a worksheet

=EOMONTH(day, [months_offset])

Returns the last day of the month that is months_offset months after day.

When to use EOMONTH

Use EOMONTH when you need to return the last day of the month that is months_offset months after day.

  • Construct dates, times, and durations.
  • Extract time parts and shift dates for reporting.

How EOMONTH works in Quadratic

In Quadratic, EOMONTH follows the syntax EOMONTH(day, [months_offset]). The function works inside Quadratic formulas and can be combined with spreadsheet ranges, tables, and other formulas.

Common EOMONTH mistakes

Most EOMONTH issues come from mismatched argument types, ranges that do not cover the intended data, or optional parameters being omitted when the default behavior is not what you expected.

  • Check each required parameter before copying the formula across a sheet.
  • Confirm that ranges line up with the rows or columns you intend to analyze.
  • Use Quadratic AI to explain or debug the formula when the result looks wrong.

Related formulas

EOMONTH formula FAQ

What does the eomonth formula do?

EOMONTH returns the last day of the month that is months_offset months after day.

What is the syntax for EOMONTH?

The syntax is EOMONTH(day, [months_offset]). Required and optional parameters are listed at the top of this guide.

Can Quadratic AI help with EOMONTH?

Yes. Quadratic AI can write a EOMONTH formula, explain existing formula logic, or help debug broken references and unexpected results.

Quadratic AI

Struggling with formulas? Use Quadratic AI.

Spreadsheet formulas are powerful, but they get painful fast. A EOMONTH formula can start simple, then turn into logic that is hard to understand, easy to break, and difficult to share with the rest of your team.

Quadratic AI helps you write formulas, explain formula logic, debug broken references, and move beyond formulas when advanced analysis needs Python, SQL, charts, or connected data.

Try Quadratic AI

Why formulas slow teams down

  • Long formulas become hard to read, understand, and trust.
  • Formula logic breaks when rows, columns, or assumptions change.
  • Manual updates make dashboards and reports fragile over time.
  • Complex formulas are difficult to explain, review, and share with teammates.
  • Advanced analysis quickly outgrows formula-only workflows.