Keep first and last names, drop middles
Turn Ava Marie Reed into Ava Reed for letters and name labels.
Download Excel templateMicrosoft 365
What you'll make

The formula

| Number | Part | What it does | Result so far |
|---|---|---|---|
| 1 | TEXTBEFORE(TRIM(A8)," ") | Keeps the first word of the name. | "Ava" |
| 2 | " " | Adds a space. | "Ava " |
| 3 | TEXTAFTER(TRIM(A8)," ",-1) | Adds the word after the last space. | "Ava Reed" |
| 4 | TRIM(A8) | Backup: the name without stray spaces. | Not used for row 8 |
| 5 | IFERROR( … ) | Uses the backup when the name has no space. | "Ava Reed" |
Read it left to right. One word or an empty cell stays as it is.
=IFERROR(TEXTBEFORE(TRIM(A8)," ")&" "&TEXTAFTER(TRIM(A8)," ",-1),TRIM(A8))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 full names into the green column of the Template tab. First and last names fill in by themselves.
- Move them into your letter. Copy the results. Then use Paste Special and choose Values.
Before you send
This keeps only the first and last words. Check two-word names, titles and suffixes by hand, like Mary Ann or Jr.
Route: Get names ready for the letter
Microsoft's help: TEXTAFTER function
OTHER ROUTES YOU MIGHT LIKE

Get first name from Last, First Middle
Reed, Ava Marie → Ava
Get the template →
Get middle names from Last, First
Reed, Ava Marie Anne → Marie Anne
Get the template →
Get first part of hyphenated last name
Reed-Park → Reed
Get the template →
Fix "Dear ," when a first name is blank
(blank) → Dear colleague,
Take this route →