Date and time

EOMONTH

Find the last calendar day of a month relative to a starting date.

Syntax

=EOMONTH(start_date, months)

Worked example

Find the month-end close for February in a leap year. Apply a date format.

=EOMONTH(DATE(2024,2,8),0)

Result 29 February 2024

Microsoft documentation

Check the arguments, supported editions and behavior of this function in Microsoft’s reference.

Microsoft reference

Search ExcelTutor