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.
EOMONTH(start_date, months)
Date & Time.
=EOMONTH(B2,1)
Returns Oct 31, 2026 for an invoice dated Sep 14, 2026
Moves one month forward and lands on the last day of that month, whatever its length.
Zero months is the end of the same month, one is the end of the next. Adding 30 days instead never lands on a month end by design and drifts by a day or two every month.
Each of these is a wrong turn the practice exercises recognise and name. They are the misconceptions, not the answers.
Knowing what a function does and being able to write it from memory are different skills. These close the gap.