Google Sheets functions / Date & Time
Date & Time function · Google Sheets
EOMONTH function
Last day of month, offset by months.
Reference entry. Syntax, tested examples and a practice file arrive with the full guide. Open the official function list.