Convert a date enclosed in hash marks

Turn #4-Nov-2026# from an export into a real date: November 4, 2026.

What you'll make

In Excel: #4-Nov-2026# becomes November 4, 2026.

The formula

The formula, with a numbered bracket under each part.
NumberPartWhat it doesFor row 8
1A8The date text, with a # at each end."#4-Nov-2026#"
2"#"The hash mark to take out."#"
3""Nothing, so each # is removed.""
4SUBSTITUTE( … )Removes every # from the text."4-Nov-2026"
5DATEVALUE( … )Reads the text and turns it into a real date.November 4, 2026

It works from the inside out: SUBSTITUTE removes the # marks, then DATEVALUE reads the date.

=DATEVALUE(SUBSTITUTE(A8,"#",""))

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 date text like #4-Nov-2026# into the green column 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

Excel reads dates using your computer's settings. Month names are safe, but numbers-only dates like #04/11/2026# can swap day and month.

Microsoft's help: DATEVALUE function