Add a former surname when supplied

Turn Ava, Reed and Park into Ava Reed (formerly Park) for alumni lists and letters.

What you'll make

In Excel: Ava + Reed + Park becomes Ava Reed (formerly Park).

The formula

The formula, with a numbered bracket under each part.
NumberPartWhat it doesResult so far
1A8The given name."Ava"
2&" "&Adds a space."Ava "
3B8Adds the current surname."Ava Reed"
4TRIM( … )Removes extra spaces from the name."Ava Reed"
5IF(TRIM(C8)…)Adds the former surname in parentheses, if there is one."Ava Reed (formerly Park)"

TRIM tidies the name first. The parentheses only appear when there is a former surname.

=TRIM(A8&" "&B8)&IF(TRIM(C8)="",""," (formerly "&TRIM(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 given names, current surnames and former surnames into the green columns of the Template tab. Leave the former surname 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 add a former surname the person has shared with you. The formula never works out name history on its own.

Route: Get names ready for the letter

Microsoft's help: IF function