Combine names from labeled records
Turn First=Ava;Last=Reed into Ava Reed, ready for letters and lists.
Download Excel templateMicrosoft 365
What you'll make

The formula

| Number | Part | What it does | Result so far |
|---|---|---|---|
| 1 | TEXTAFTER(A8,"First=") | Keeps everything after the First= label. | "Ava;Last=Reed" |
| 2 | TEXTBEFORE( … ,";") | Stops at the semicolon, leaving the first name. | "Ava" |
| 3 | &" "& | Adds a space. | "Ava " |
| 4 | TEXTAFTER(A8,"Last=") | Keeps everything after the Last= label. | "Ava Reed" |
| 5 | TRIM( … ) | Removes stray spaces from the whole name. | "Ava Reed" |
Part 2 wraps part 1, so Excel works from the inside out there.
=TRIM(TEXTBEFORE(TEXTAFTER(A8,"First="),";")&" "&TEXTAFTER(A8,"Last="))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 export records 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
The labels must match exactly, capitals included, and Last= must be the final field. Anything after it ends up in the name.
Route: Get names ready for the letter
Microsoft's help: TEXTAFTER function
OTHER ROUTES YOU MIGHT LIKE

Get the name after a chosen separator
Active|Ava Reed + | → Ava Reed
Get the template →
Remove an import code before a name
0042Ava Reed + 4 characters → Ava Reed
Get the template →
Remove a fixed-length code after a name
Ava Reed0042 + 4 characters → Ava Reed
Get the template →
Fix "Dear ," when a first name is blank
(blank) → Dear colleague,
Take this route →