Replace tabs between name parts

Turn a tab between Ava and Reed into a space, so the name reads Ava Reed.

What you'll make

In Excel: Ava»Reed becomes Ava Reed.

The formula

The formula, with a numbered bracket under each part.
NumberPartWhat it doesResult so far
1A8The name. Each » is a hidden tab."Ava»Reed"
2CHAR(9)The tab character, which TRIM can't remove.»
3" "An ordinary space." "
4SUBSTITUTE( … )Swaps every tab for an ordinary space."Ava Reed"
5TRIM( … )Removes extra spaces at the ends and between."Ava Reed"

SUBSTITUTE works first, then TRIM tidies up.

=TRIM(SUBSTITUTE(A8,CHAR(9)," "))

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 tabs only. Line breaks and other hidden characters need a different fix. Check the names before you send.

Route: Get names ready for the letter

Microsoft's help: SUBSTITUTE function