Combine names with a middle initial

Turn Ava, Marie and Reed into Ava M. Reed for letters and badges.

What you'll make

In Excel: Ava + Marie + Reed becomes Ava M. Reed.

The formula

The formula, with a numbered bracket under each part.
NumberPartWhat it doesResult so far
1A8The first name."Ava"
2&" "&Adds a space."Ava "
3IF(TRIM(B8)…)Adds the middle initial and a period, if there is one."Ava M. "
4C8Adds the last name."Ava M. Reed"
5TRIM( … )Removes extra spaces."Ava M. Reed"

UPPER(LEFT(…,1)) keeps one capital letter. An empty middle adds nothing.

=TRIM(A8&" "&IF(TRIM(B8)="","",UPPER(LEFT(TRIM(B8),1))&". ")&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

Only the first letter of the middle name is kept. Check people who go by their middle name.

Route: Get names ready for the letter

Microsoft's help: LEFT function