Replace narrow nonbreaking spaces

Turn the thin, unbreakable gap some exports put in Ava Reed into an ordinary space.

What you'll make

In Excel: Ava [narrow no-break space] Reed becomes Ava Reed.

The formula

The formula, with a numbered bracket under each part.
NumberPartWhat it doesResult so far
1A8The name. The gap is a narrow space, not a real one."Ava Reed"
2UNICHAR(8239)The narrow no-break space. It looks like a thin space." "
3" "An ordinary space." "
4SUBSTITUTE( … )Swaps every narrow space for an ordinary one."Ava Reed"
5TRIM( … )Removes any extra ordinary spaces."Ava Reed"

SUBSTITUTE works first, then TRIM tidies up. Other odd spaces stay as they are.

=TRIM(SUBSTITUTE(A8,UNICHAR(8239)," "))

How to use it

Yellow bar at the top? Click Enable Editing.

  1. See it work. The Example tab shows 20 made-up names with the formula already in.
  2. Use your own names. Paste names into the green column of the Template tab. Clean names fill in by themselves.
  3. Move them into your letter. Copy the results. Then use Paste Special and choose Values.

Before you send

This fixes narrow no-break spaces only. Other hidden spaces need a different fix. Check names that still won't match.

Route: Get names ready for the letter

Microsoft's help: UNICHAR function