Combine names with a blank middle

First, middle and last in one column, with no double space when the middle is empty.

What you'll make

In Excel: Skips an empty middle name becomes Ava Reed.

The formula

The formula, with a numbered bracket under each part.
NumberPartWhat it doesFor row 8
1" "Puts a space between the names." "
2TRUESkips empty cells, like Ava's middle name.Skips B8
3A8:C8The first, middle and last name cells.Ava | | Reed
4TEXTJOIN( … )Joins them into one name."Ava Reed"

The space only goes between names that are there.

=TEXTJOIN(" ",TRUE,A8:C8)

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 first, middle and last names into the green columns of the Template tab. Leave the middle empty when there isn't one.
  3. Move them into your letter. Copy the results. Then use Paste Special and choose Values.

Before you send

A cell with only a space in it isn't empty, and it adds an extra gap. Clear those first. Then check spelling and name order.

Route: Get names ready for the letter

Microsoft's help: TEXTJOIN function