Put a preferred name in the middle

Turn Ava, Avie and Reed into Ava (Avie) Reed for name tags and lists.

What you'll make

In Excel: Ava + Avie + Reed becomes Ava (Avie) Reed.

The formula

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

The parentheses only appear when there is a preferred name.

=TRIM(A8&IF(TRIM(B8)="",""," ("&TRIM(B8)&")")&" "&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, preferred and last names into the green columns of the Template tab. Leave the preferred name 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

Type preferred names without parentheses, like Avie not (Avie). Check each one belongs to the right person.

Route: Get names ready for the letter

Microsoft's help: IF function