Convert ddmmyyyy text into a date

Turn the day-first text 04112026 into a real date: November 4, 2026.

What you'll make

In Excel: 04112026 becomes November 4, 2026.

The formula

The formula, with a numbered bracket under each part.
NumberPartWhat it doesResult so far
1RIGHT(A8,4)Takes the last 4 digits: the year."2026"
2MID(A8,3,2)Takes 2 digits from the 3rd: the month."11"
3LEFT(A8,2)Takes the first 2 digits: the day."04"
4DATE( … )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(RIGHT(A8,4),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 day-first text like 04112026 into the green column of the Template tab. Keep the leading zero. 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

Use this only for day-first text. Month-first text like 11042026 gives the wrong date, so check where your list came from.

Microsoft's help: DATE function