Show a date as yyyy-mm-dd text

Turn the date November 4, 2026 into the text 2026-11-04.

What you'll make

In Excel: November 4, 2026 becomes 2026-11-04.

The formula

The formula, with a numbered bracket under each part.
NumberPartWhat it doesFor row 8
1A8The real date.November 4, 2026
2"yyyy-mm-dd"The pattern: 4-digit year, month, day."yyyy-mm-dd"
3TEXT( … )Writes the date in that pattern as text."2026-11-04"

Months and days always get two digits, so 4 becomes 04.

=TEXT(A8,"yyyy-mm-dd")

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 real dates into the green column of the Template tab. The text fills in by itself.
  3. Move them into your letter. Copy the results. Then use Paste Special and choose Values.

Before you send

The result is text, not a date. Keep the original dates for sorting and date math.

Microsoft's help: TEXT function