Replace thin and hair spaces in names

Some files put a very thin space inside Ava Reed. This turns it into an ordinary space.

What you'll make

In Excel: Ava [thin 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 thin space, not a real one."Ava Reed"
2SUBSTITUTE( … 8201 … )Swaps each thin space for an ordinary space."Ava Reed"
3SUBSTITUTE( … 8202 … )Swaps each hair space (even thinner) for a space."Ava Reed"
4TRIM( … )Removes extra spaces, so only one is left."Ava Reed"

Each bracket wraps the one above it, so Excel works from the inside out.

=TRIM(SUBSTITUTE(SUBSTITUTE(A8,UNICHAR(8201)," "),UNICHAR(8202)," "))

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 thin and hair spaces only. Other odd spaces stay as they are. Check names that still won't match.

Route: Get names ready for the letter

Microsoft's help: UNICHAR function