Find the last day of the previous month
Turn the date November 4, 2026 into the last day of the month before: October 31, 2026.
What you'll make

The formula

| Number | Part | What it does | For row 8 |
|---|---|---|---|
| 1 | A8 | The real date. | November 4, 2026 |
| 2 | -1 | Steps back one month. | October 2026 |
| 3 | EOMONTH( … ) | Finds the last day of that month. | October 31, 2026 |
Change -1 to 0 for the end of this month, or -2 for two months back.
=EOMONTH(A8,-1)How to use it
Yellow bar at the top? Click Enable Editing.
- See it work. The Example tab shows 20 made-up examples with the formula already in.
- Use your own dates. Paste real dates into the green column of the Template tab. The last days fill in by themselves.
- Move them into your letter. Copy the results. Then use Paste Special and choose Values.
Before you send
Pasted text that only looks like a date may turn amber. Retype it as a real date.
Microsoft's help: EOMONTH function
OTHER ROUTES YOU MIGHT LIKE

Find the first day of the year
November 4, 2026 → January 1, 2026
Get the template →
Find the last day of the year
November 4, 2026 → December 31, 2026
Get the template →
Find the first day of the calendar quarter
November 4, 2026 → October 1, 2026
Get the template →
Show a letter date as November 5, 2026
11/5/2026 → November 5, 2026
Take this route →