Convert 04-NOV-26 text with a century

Turn the text 04-NOV-26 02.30.15.123456 PM and the century 20 into a real date.

What you'll make

In Excel: 04-NOV-26 02.30.15.123456 PM + 20 becomes November 4, 2026.

The formula

The formula, with a numbered bracket under each part.
NumberPartWhat it doesResult so far
1LEFT(A8,7)Takes the first 7 characters: the day and month."04-NOV-"
2B8The century you choose, like 19 or 20.20
3MID(A8,8,2)Takes 2 characters from the 8th: the year."26"
4DATEVALUE( … )Reads the joined text as a real date.November 4, 2026

Read it left to right. The & signs join the pieces into 04-NOV-2026, and the time is left out.

=DATEVALUE(LEFT(A8,7)&B8&MID(A8,8,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 timestamp text like 04-NOV-26 02.30.15.123456 PM and its century, like 20, 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: 20 turns 26 into 2026, and 19 turns 85 into 1985. Month names must be in English, like NOV.

Microsoft's help: DATEVALUE function