Flip Last, Given, Suffix names
Turn Reed, Ava Marie, Jr. into Ava Marie Reed Jr. for letters and labels.
Download Excel templateMicrosoft 365
What you'll make

The formula

| Number | Part | What it does | Result so far |
|---|---|---|---|
| 1 | TEXTAFTER(A8,",") | Keeps everything after the first comma. | " Ava Marie, Jr." |
| 2 | TEXTBEFORE( … ,",") | Stops at the next comma, leaving the given names. | " Ava Marie" |
| 3 | TEXTBEFORE(A8,",") | Takes the surname before the first comma. | " Ava Marie Reed" |
| 4 | TEXTAFTER(A8,",",-1) | Takes the suffix after the last comma. | " Ava Marie Reed Jr." |
| 5 | TRIM( … ) | Removes the extra spaces from the whole name. | "Ava Marie Reed Jr." |
Part 2 wraps part 1, so Excel works from the inside out there. Each &" "& adds a space between parts.
=TRIM(TEXTBEFORE(TEXTAFTER(A8,","),",")&" "&TEXTBEFORE(A8,",")&" "&TEXTAFTER(A8,",",-1))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 into the green column of the Template tab. Full names fill in by themselves.
- Move them into your letter. Copy the results. Then use Paste Special and choose Values.
Before you send
Each name needs exactly two commas. A name with two suffixes, like Jr., PhD, keeps only the last one.
Route: Get names ready for the letter
Microsoft's help: TEXTBEFORE function
OTHER ROUTES YOU MIGHT LIKE

Put a known surname first with a suffix
Ava Reed, Jr. + Reed → Reed, Ava, Jr.
Get the template →
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 →
Fix "Dear ," when a first name is blank
(blank) → Dear colleague,
Take this route →