Convert ddmmyy text with a century

Turn the text 041126 and the century 2000 into a real date: November 4, 2026.

What you'll make

In Excel: 041126 + 2000 becomes November 4, 2026.

The formula

The formula, with a numbered bracket under each part.
NumberPartWhat it doesResult so far
1B8The century you choose, like 1900 or 2000.2000
2RIGHT(A8,2)Takes the last 2 digits and adds the century.2026
3MID(A8,3,2)Takes 2 digits from the 3rd: the month."11"
4LEFT(A8,2)Takes the first 2 digits: the day."04"
5DATE( … )Puts them together as a real date.November 4, 2026

Read it left to right. A real date can be sorted and used in other date formulas.

=DATE(B8+RIGHT(A8,2),MID(A8,3,2),LEFT(A8,2))

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 six-digit text like 041126 and its 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

Choose the century for each row yourself: 1900 turns 80 into 1980, and 2000 turns 26 into 2026. A day that doesn't exist rolls into the next month, so check odd dates.

Microsoft's help: DATE function