Keep the last two words of a name
Turn Ava Reed Park into Reed Park for two-word surnames.
Download Excel templateMicrosoft 365
What you'll make

The formula

| Number | Part | What it does | Result so far |
|---|---|---|---|
| 1 | TRIM(A8) | Removes any extra spaces from the name. | "Ava Reed Park" |
| 2 | TEXTAFTER( … " ",-2) | Keeps what comes after the second-to-last space. | "Reed Park" |
| 3 | TRIM(A8) | With only one or two words, keeps the whole name. | Not used for row 8 |
| 4 | IFERROR( … ) | Uses part 3 when there are fewer than three words. | "Reed Park" |
Each bracket wraps the one above it, so Excel works from the inside out.
=IFERROR(TEXTAFTER(TRIM(A8)," ",-2),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. The last two words fill in by themselves.
- Move them into your letter. Copy the results. Then use Paste Special and choose Values.
Before you send
Use this only for surnames with two words. Mary Ann de la Cruz would give la Cruz.
Route: Get names ready for the letter
Microsoft's help: TEXTAFTER function
OTHER ROUTES YOU MIGHT LIKE

Keep the first two words of a name
Mary Ann Reed → Mary Ann
Get the template →
Put a known compound surname first
Nia van Dijk + van Dijk → van Dijk, Nia
Get the template →
Get a middle initial from a full-name field
Ava Marie Reed → M.
Get the template →
Fix "Dear ," when a first name is blank
(blank) → Dear colleague,
Take this route →