Convert date text but skip placeholders

Turn the text 4-Nov-2026 into a real date, and leave a placeholder like N/A blank.

What you'll make

In Excel: N/A becomes blank; 4-Nov-2026 becomes November 4, 2026.

The formula

The formula, with a numbered bracket under each part.
NumberPartWhat it doesResult so far
1OR(A8="",A8=B8)Checks for an empty cell or the placeholder.No
2DATEVALUE(A8)Reads the text and turns it into a real date.November 4, 2026
3IF( … )Leaves the cell blank if part 1 says yes.November 4, 2026

Read it left to right. Only the placeholder you type in column B is left blank.

=IF(OR(A8="",A8=B8),"",DATEVALUE(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 Date text column of the Template tab. Put your placeholder, like N/A, next to it. 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

Only type the placeholder your file really uses. A real date like January 1 is a date, not a missing one.

Microsoft's help: DATEVALUE function