Convert yyyymmdd text into a date
Turn the text 20261104 into a real date: November 4, 2026.
What you'll make

The formula

| Number | Part | What it does | For row 8 |
|---|---|---|---|
| 1 | LEFT(A8,4) | Takes the first 4 digits: the year. | "2026" |
| 2 | MID(A8,5,2) | Takes 2 digits from the 5th: the month. | "11" |
| 3 | RIGHT(A8,2) | Takes the last 2 digits: the day. | "04" |
| 4 | DATE( … ) | Puts them together as a real date. | November 4, 2026 |
A real date can be sorted and used in other date formulas.
=DATE(LEFT(A8,4),MID(A8,5,2),RIGHT(A8,2))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 date text like 20261104 into the green column of the Template tab. The dates fill in by themselves.
- Move them into your letter. Copy the results. Then use Paste Special and choose Values.
Before you send
This reads the digits, not the date. A day that doesn't exist, like 20260230, rolls into March, so check odd dates.
Microsoft's help: DATE function
OTHER ROUTES YOU MIGHT LIKE

Remove the time from a date and time
November 4 at 2:30 PM → November 4 only
Get the template →
Build a date from year, month and day
2026 + 11 + 4 → November 4, 2026
Get the template →
Convert fixed yyyy-mm-dd text to a date
2026-11-04 → November 4, 2026
Get the template →
Show a letter date as November 5, 2026
11/5/2026 → November 5, 2026
Take this route →