Combine names with a blank middle
First, middle and last in one column, with no double space when the middle is empty.
Download Excel templateMicrosoft 365
What you'll make

The formula

| Number | Part | What it does | For row 8 |
|---|---|---|---|
| 1 | " " | Puts a space between the names. | " " |
| 2 | TRUE | Skips empty cells, like Ava's middle name. | Skips B8 |
| 3 | A8:C8 | The first, middle and last name cells. | Ava | | Reed |
| 4 | TEXTJOIN( … ) | 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.
- See it work. The Example tab shows 20 made-up names with the formula already in.
- 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.
- 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



