Turn name lines into a semicolon list

Turn names on separate lines in one cell into Ava Reed; Noah Park.

What you'll make

In Excel: Ava Reed ¶ Noah Park becomes Ava Reed; Noah Park.

The formula

The formula, with a numbered bracket under each part.
NumberPartWhat it doesResult so far
1A8Names on separate lines. ¶ marks a line break."Ava Reed¶Noah Park"
2SUBSTITUTE( … CHAR(13),"" )Removes any hidden return mark."Ava Reed¶Noah Park"
3SUBSTITUTE( … CHAR(10),"; " )Swaps each line break for a ; and a space."Ava Reed; Noah Park"

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

=SUBSTITUTE(SUBSTITUTE(A8,CHAR(13),""),CHAR(10),"; ")

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 cells with one name per line into the green column of the Template tab. The semicolon lists fill in by themselves.
  3. Move them into your letter. Copy the results. Then use Paste Special and choose Values.

Before you send

An empty line or a line break at the end adds an extra ; mark. Remove those first.

Route: Get names ready for the letter

Microsoft's help: SUBSTITUTE function