Convert a yymm code with a century

Turn the code 2611 and the century 2000 into a real date: November 1, 2026.

What you'll make

In Excel: 2611 + 2000 becomes November 1, 2026.

The formula

The formula, with a numbered bracket under each part.
NumberPartWhat it doesFor row 8
1B8The century you choose, like 1900 or 2000.2000
2LEFT(A8,2)Takes the first 2 digits and adds the century.2026
3RIGHT(A8,2)Takes the last 2 digits: the month."11"
4DATE( … )Makes the 1st of that month.November 1, 2026

Read it left to right. The 1 at the end is day 1, so every code marks the start of its month.

=DATE(B8+LEFT(A8,2),RIGHT(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 four-digit codes like 2611 and their century, like 2000, into the green columns 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

The year comes first in these codes, so 2611 is November 2026. Choose the century for each row yourself: 1900 turns 99 into 1999. The 1st only marks the month; it isn't the real day.

Microsoft's help: DATE function