- Can EOMONTH go backward in time?
- Yes. Use negative values in the months parameter: =EOMONTH(DATE(2025,3,15), -1) returns 2025-02-28. This is essential for historical analysis and prior-period lookups in accounting.
- What is the difference between EOMONTH and EDATE?
- EOMONTH returns the last day of the target month (always the 28th, 29th, 30th, or 31st). EDATE returns the same day of the month in the target period—for example, EDATE(2025-01-15, 1) returns 2025-02-15, not 2025-02-28. Use EOMONTH for period-end deadlines and EDATE for same-day anniversaries.
- How do I get the first day of a month using EOMONTH?
- EOMONTH only returns the last day, but you can get the first day by subtracting 1 from EOMONTH of the previous month: =EOMONTH(start_date, -1)+1. Alternatively, use DATE(YEAR(start_date), MONTH(start_date), 1) for the first day of the current month.
- Why does my EOMONTH result look like a number instead of a date?
- Spreadsheet apps store dates as numbers internally (date serials). If you see 45351 instead of 2025-02-28, your column is formatted as 'Number' instead of 'Date'. Right-click the cell, select Format Cells, and change to Date format, or apply the cell formatting shortcut in your app.