Get a chosen name from a semicolon list
Turn Ava Reed;Noah Park;Mia Chen and position 2 into Noah Park.
Download Excel templateMicrosoft 365
What you'll make

The formula

| Number | Part | What it does | Result so far |
|---|---|---|---|
| 1 | TEXTAFTER(";"&A8,";",B8) | Puts a ; in front, then skips to the chosen name. | "Noah Park;Mia Chen" |
| 2 | &";" | Adds a ; at the end, so the last name has one. | "Noah Park;Mia Chen;" |
| 3 | TEXTBEFORE( … ,";") | Keeps what comes before the next ; mark. | "Noah Park" |
| 4 | TRIM( … ) | Removes any spaces left at the ends. | "Noah Park" |
| 5 | IFERROR( … ,"") | Shows nothing when the position is empty or too big. | "Noah Park" |
Each bracket wraps the one above it, so Excel works from the inside out.
=IFERROR(TRIM(TEXTBEFORE(TEXTAFTER(";"&A8,";",B8)&";",";")),"")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 semicolon lists into column A of the Template tab and the position you want into column B. The chosen names fill in by themselves.
- Move them into your letter. Copy the results. Then use Paste Special and choose Values.
Before you send
Count positions from 1, starting at the left. A position past the last name leaves the cell blank, so check blank rows.
Route: Get names ready for the letter
Microsoft's help: TEXTAFTER function
OTHER ROUTES YOU MIGHT LIKE

Change a comma suffix to a space suffix
Ava Reed, Jr. → Ava Reed Jr.
Get the template →
Get the second name line from a cell
Ava Reed ¶ Noah Park → Noah Park
Get the template →
Get a surname starting with a particle
Ava de la Cruz + de la → de la Cruz
Get the template →
Fix "Dear ," when a first name is blank
(blank) → Dear colleague,
Take this route →