Add a suffix after a comma

Turn Ava Reed and Jr. into Ava Reed, Jr. for formal letters.

What you'll make

In Excel: Ava Reed + Jr. becomes Ava Reed, Jr.

The formula

The formula, with a numbered bracket under each part.
NumberPartWhat it doesFor row 8
1TRIM(A8)=""Checks whether the name is empty.Not empty
2TRIM(A8)The full name, without stray spaces."Ava Reed"
3IF(TRIM(B8)…)Adds a comma and the suffix, if there is one.", Jr."
4IF( … )Leaves the row blank when there's no name."Ava Reed, Jr."

The comma only appears when there is a suffix. No suffix, no comma.

=IF(TRIM(A8)="","",TRIM(A8)&IF(TRIM(B8)="","",", "&TRIM(B8)))

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 full names and suffixes into the green columns of the Template tab. Leave the suffix 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 suffixes without a comma, like Jr. not , Jr. Check that each one belongs to the right person.

Route: Get names ready for the letter

Microsoft's help: IF function