Reorder Last|First|Middle fields
Turn Reed|Ava|Marie into Ava Marie Reed, with the separator from column B.
Download Excel templateMicrosoft 365
What you'll make

The formula

| Number | Part | What it does | Result so far |
|---|---|---|---|
| 1 | TEXTBEFORE(TEXTAFTER(A8,B8),B8) | Takes the first name between the two separators. | "Ava" |
| 2 | TEXTAFTER(A8,B8,-1) | Adds a space and the middle name after the last separator. | "Ava Marie" |
| 3 | TEXTBEFORE(A8,B8) | Adds a space and the last name before the first separator. | "Ava Marie Reed" |
| 4 | TRIM( … ) | Removes extra spaces, like when the middle is empty. | "Ava Marie Reed" |
| 5 | IFERROR( … ,"Review format") | Says Review format when a separator is missing. | "Ava Marie Reed" |
Read it left to right. Each " " between parts adds a space.
=IFERROR(TRIM(TEXTBEFORE(TEXTAFTER(A8,B8),B8)&" "&TEXTAFTER(A8,B8,-1)&" "&TEXTBEFORE(A8,B8)),"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 Last|First|Middle names into column A of the Template tab and their separator into column B. 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 three fields and two separators. Check any row that has more.
Route: Get names ready for the letter
Microsoft's help: TEXTAFTER function
OTHER ROUTES YOU MIGHT LIKE

Get a name part by its word position
Ava Marie Reed + position 2 → Marie
Get the template →
Change Last, First to First Last
Reed, Ava → Ava Reed
Get the template →
Get the first name from a full name
Ava Reed → Ava
Get the template →
Fix "Dear ," when a first name is blank
(blank) → Dear colleague,
Take this route →