Find month-end due dates with EOMONTH
Set a due date to the last day of the following month, whatever its length.
EOMONTH
Returns the last day of the month a given number of months from a date. Below is 1 interactive exercise that puts it to work on realistic business data — you write the formula, and get told exactly what went wrong when it does not work.
1 free EOMONTH exercise · about 5 minutes · no sign-up · runs in your browser
First up: Find month-end due dates with EOMONTH (5 min). The sheet holds the data for every EOMONTH exercise on this page, with the answer cells blank; the feedback and the solution are in the browser exercise.
EOMONTH(start_date, months)
Need a refresher? Learn EOMONTH — syntax, a worked example and where it goes wrong.
On your own sheet? Try the Date Formula Generator, the Date Helper or the Date Picker for Excel.
Last updated
Ordered from most approachable to hardest.
Returns the last day of the month a given number of months from a date. It belongs to the date & time family, and it shows up constantly in real work — which is why it is worth being genuinely fluent rather than merely familiar.
Before this one, it helps to be comfortable with DATE. The exercises below assume that ground is covered.
Reading about a function is not the same as being able to write it. The exercises on this page exist because the gap between recognising EOMONTH and producing it from memory, correctly, on data you have not seen before, only closes by doing it.