Make Last, First with a middle initial

Turn Ava, Marie and Reed into Reed, Ava M. for sorted lists and rosters.

What you'll make

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

The formula

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

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

=TRIM(C8)&", "&TRIM(A8&" "&IF(TRIM(B8)="","",UPPER(LEFT(TRIM(B8),1))&"."))

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