Make a numeric year-month key
Turn November 4, 2026 into the number 202611, the year and month together.
What you'll make

The formula

| Number | Part | What it does | Result so far |
|---|---|---|---|
| 1 | YEAR(A8)*100 | The year of the date, times 100. | 202600 |
| 2 | MONTH(A8) | Adds the month number, 1 to 12. | 202611 |
Read it left to right. The result is a number, not a date, so it sorts in order.
=YEAR(A8)*100+MONTH(A8)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 keys fill in by themselves.
- Move them into your letter. Copy the results. Then use Paste Special and choose Values.
Before you send
The key is a plain number. Use it only where a field asks for a number like 202611.
Microsoft's help: MONTH function
OTHER ROUTES YOU MIGHT LIKE

Get the week-based year from a date
January 1, 2027 → ISO week-year 2026
Get the template →
Make a week key like 2026-W45
January 1, 2027 → 2026-W53
Get the template →
Make a calendar year-quarter text key
November 4, 2026 → 2026-Q4
Get the template →
Show a letter date as November 5, 2026
11/5/2026 → November 5, 2026
Take this route →