What the video covers
Show how to enter the EOMONTH formula, how the months argument works, and how to ensure the result displays as a date.
Watch the video on YouTubeStep-by-step instructions
- Select the result cell
Click the cell where you want the end-of-month date to appear. - Enter the EOMONTH formula
Type =EOMONTH( then select a cell that contains the start date or type a date expression (or DATE(…)). - Provide the months argument
After the comma, enter how many months to move forward or backward (0 = same month, 1 = next month, -1 = previous month). - Complete the formula
Close the parentheses and press Enter. Excel returns the last day of the resulting month. - Format if needed
If the result shows a serial number, format the cell as a Date so it displays as an end-of-month date. - Test with different inputs
Change the start date or the months value to confirm the formula updates correctly for various months and leap years.
Watch the video
Play tutorial
Why it matters
EOMONTH automates end-of-month calculations so you don't have to manually change dates for billing periods, reporting cutoffs, or schedule generation.
Check your result
The cell shows a date that is the last day of the intended month (e.g., 31-Mar-2026 for March 2026). Changing the start date or months argument updates the result.
Troubleshooting
If you see an error or a serial number: – Ensure the start_date is a valid Excel date or a cell that contains one. – If you see a serial number, format the cell as a Date. – If you get #VALUE!, try wrapping a text date with DATEVALUE or use the DATE function to build a valid date. – Remember negative months move backward (e.g., -1 = last day of previous month).