Put a known surname first with a suffix
Turn Ava Reed, Jr. into Reed, Ava, Jr., using the surname you already have.
Download Excel templateMicrosoft 365
What you'll make

The formula

| Number | Part | What it does | Result so far |
|---|---|---|---|
| 1 | TRIM(B8) | The surname you typed, without extra spaces. | "Reed" |
| 2 | TRIM(TEXTBEFORE( … )) | The given names: before the comma and the surname. | "Reed, Ava" |
| 3 | TRIM(TEXTAFTER(A8,",")) | The suffix after the comma. | "Reed, Ava, Jr." |
| 4 | "Review format" | Shown when the comma or surname isn't found. | Not used for row 8 |
| 5 | IFERROR( … ) | Uses part 4 when there is no comma or surname match. | "Reed, Ava, Jr." |
Read it left to right. Each &", "& adds a comma and a space between parts.
=IFERROR(TRIM(B8)&", "&TRIM(TEXTBEFORE(TRIM(TEXTBEFORE(A8,","))," "&TRIM(B8),-1))&", "&TRIM(TEXTAFTER(A8,",")),"Review format")How to use it
Yellow bar at the top? Click Enable Editing.
- See it work. The Example tab shows 20 made-up names with the formula already in.
- Use your own names. Paste names with their suffix and the surnames you know into the green columns of the Template tab. The surname-first names fill in by themselves.
- Move them into your letter. Copy the results. Then use Paste Special and choose Values.
Before you send
Type the surname exactly as it appears right before the comma, capitals included, like de la Cruz.
Route: Get names ready for the letter
Microsoft's help: TEXTBEFORE function
OTHER ROUTES YOU MIGHT LIKE

Remove all credentials after a name
Ava Reed, CPA, MBA → Ava Reed
Get the template →
Use the name after aka
Ava Reed aka Avie Reed → Avie Reed
Get the template →
Add periods to three compact initials
AMR → A.M.R.
Get the template →
Fix "Dear ," when a first name is blank
(blank) → Dear colleague,
Take this route →