Convert mmyyyy codes to a month start

Turn the code 112026 into a real date: November 1, 2026.

What you'll make

In Excel: 112026 becomes November 1, 2026.

The formula

The formula, with a numbered bracket under each part.
NumberPartWhat it doesFor row 8
1RIGHT(A8,4)Takes the last 4 characters: the year."2026"
2LEFT(A8,2)Takes the first 2 characters: the month."11"
31Uses day 1, the start of the month.1
4DATE( … )Puts them together as a real date.November 1, 2026

The 1st only marks the month. It isn't the day anything happened.

=DATE(RIGHT(A8,4),LEFT(A8,2),1)

How to use it

Yellow bar at the top? Click Enable Editing.

  1. See it work. The Example tab shows 20 made-up examples with the formula already in.
  2. Use your own dates. Paste codes like 112026 into the green column of the Template tab. The dates fill in by themselves.
  3. Move them into your letter. Copy the results. Then use Paste Special and choose Values.

Before you send

Keep the leading zero. A code like 12027, missing its 0, reads as the wrong month, so check short codes.

Microsoft's help: DATE function