Convert dates with nonbreaking spaces
Turn date text with hidden spaces, like Nov 4, 2026 from a web page, into a real date.
What you'll make
![In Excel: Nov[NBSP]4,[NBSP]2026 becomes November 4, 2026.](/assets/template-story/convert-dates-with-nonbreaking-spaces-make.png)
The formula

| Number | Part | What it does | For row 8 |
|---|---|---|---|
| 1 | A8 | The date text. Its gaps are hidden, unbreakable spaces. | "Nov 4, 2026" |
| 2 | UNICHAR(160) | The nonbreaking space. It looks like a space. | " " |
| 3 | " " | An ordinary space. | " " |
| 4 | SUBSTITUTE( … ) | Swaps every hidden space for an ordinary one. | "Nov 4, 2026" |
| 5 | DATEVALUE( … ) | Reads the text and turns it into a real date. | November 4, 2026 |
It works from the inside out: SUBSTITUTE fixes the spaces, then DATEVALUE reads the date.
=DATEVALUE(SUBSTITUTE(A8,UNICHAR(160)," "))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 Nov 4, 2026 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 fixes nonbreaking spaces only. If a row turns amber, it may hide a different odd character.
Microsoft's help: DATEVALUE function
OTHER ROUTES YOU MIGHT LIKE

Convert mm/dd/yy text with a century
11/04/26 + 2000 → November 4, 2026
Get the template →
Convert mmddyy text with a century
110426 + 2000 → November 4, 2026
Get the template →
Convert a year and day-of-year code
2026365 → December 31, 2026
Get the template →
Show a letter date as November 5, 2026
11/5/2026 → November 5, 2026
Take this route →