What the video covers
How to use the EOMONTH function in Google Sheets to calculate month-end dates for a single date, multiple rows, future/past offsets, and related tasks (first day of next month, dynamic month-end from today).
Watch the video on YouTubeStep-by-step instructions
- Open your spreadsheet and identify the source date cell
Locate the cell that contains the starting date you want to evaluate (example used below: A2 = 2026-09-24). - Get the end of the same month
In the cell where you want the month-end result (e.g., B2) enter: =EOMONTH(A2, 0) and press Enter. The 0 offset returns the last day of the month that contains A2. - Get future or past month-ends
Use positive offsets to move forward and negative offsets to move backward. Examples: =EOMONTH(A2, 1) → end of next month, =EOMONTH(A2, 3) → end of month 3 months ahead, =EOMONTH(A2, -1) → end of prior month, =EOMONTH(A2, -12) → same month last year. - Calculate first day of the next month
Add one day to the month-end result: =EOMONTH(A2, 0) + 1 which returns the first calendar day of the following month. - Create a dynamic current-month cutoff using today's date
Use TODAY() as the source date so the sheet always shows the current month-end: =EOMONTH(TODAY(), 0). Change the offset to generate future/past cutoffs relative to today. - Apply the formula to a column of dates
Enter the EOMONTH formula in the top output cell and drag the fill handle (or double-click it) to copy the formula down the column so each row calculates its own month-end from the corresponding source date.
Watch the video
Play tutorial
Why it matters
Manual month-end calculations are error-prone because months have different lengths. EOMONTH reliably returns the exact last calendar day for the month containing a date, and accepts positive/negative offsets to move between months.
Check your result
After entering the formulas, the output cell should display a calendar date (not a serial number). Examples: with A2 = 2026-09-24, =EOMONTH(A2,0) → 2026-09-30, =EOMONTH(A2,1) → 2026-10-31, =EOMONTH(TODAY(),0) → last day of current month.
Troubleshooting
If the result shows a number (e.g., 44928) format the cell as Date. If you see an error, verify the source cell contains a valid date or a formula that returns a date. Negative offsets work the same as positive; ensure the offset is an integer. If copying formulas down a column produces wrong relative references, lock references with $ where needed (e.g., $A$2) or use correct relative addressing.