Keep the first two words of a name
Turn Mary Ann Reed into Mary Ann for two-word first names.
Download Excel templateMicrosoft 365
What you'll make

The formula

| Number | Part | What it does | Result so far |
|---|---|---|---|
| 1 | TRIM(A8) | The full name, without stray spaces. | "Ava Marie Reed" |
| 2 | TEXTBEFORE( … ," ",2) | Keeps what comes before the second space. | "Ava Marie" |
| 3 | TRIM(A8) | Backup: the whole name without stray spaces. | Not used for row 8 |
| 4 | IFERROR( … ) | Uses part 3 when there is no second space. | "Ava Marie" |
Each bracket wraps the one above it, so Excel works from the inside out. The 2 means the second space.
=IFERROR(TEXTBEFORE(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 first two words fill in by themselves.
- Move them into your letter. Copy the results. Then use Paste Special and choose Values.
Before you send
This always keeps two words, so Ava Marie Reed gives Ava Marie. Use it only for people whose first name has two words.
Route: Get names ready for the letter
Microsoft's help: TEXTBEFORE function
OTHER ROUTES YOU MIGHT LIKE

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 →
Make first-and-last initials from a name
Ava Marie Reed → AR
Get the template →
Fix "Dear ," when a first name is blank
(blank) → Dear colleague,
Take this route →