Get given names using a known surname
Turn Mary Ann de la Cruz into Mary Ann, using the surname you already have.
What you'll make

The formula

| Number | Part | What it does | Result so far |
|---|---|---|---|
| 1 | RIGHT(TRIM(A8),LEN(TRIM(B8))+1) | The end of the full name, as long as part 2. | " Reed" |
| 2 | " "&TRIM(B8) | The surname with a space before it. | " Reed" |
| 3 | LEFT(TRIM(A8),LEN(TRIM(A8))-LEN(TRIM(B8))-1) | Keeps everything before the space and surname. | "Ava" |
| 4 | "Review name" | Shown when the end doesn't match. | Not used for row 8 |
| 5 | IF( … ) | Gives the given names only when parts 1 and 2 match. | "Ava" |
Read it left to right. Capitals don't matter when parts 1 and 2 are compared, so reed matches Reed.
=IF(RIGHT(TRIM(A8),LEN(TRIM(B8))+1)=" "&TRIM(B8),LEFT(TRIM(A8),LEN(TRIM(A8))-LEN(TRIM(B8))-1),"Review name")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 and the surnames you know into the green columns of the Template tab. Given names fill in by themselves.
- Move them into your letter. Copy the results. Then use Paste Special and choose Values.
Before you send
Type the whole surname. Cruz alone would give Mary Ann de la, so use de la Cruz.
Route: Get names ready for the letter
Microsoft's help: RIGHT function
OTHER ROUTES YOU MIGHT LIKE

Get the name from the first line of a cell
Ava Reed ¶ 12 Oak St → Ava Reed
Get the template →
Get a name after an Attn: label
Attn: Ava Reed → Ava Reed
Get the template →
Get a quoted display name from an email
"Ava Reed" <[email protected]> → Ava Reed
Get the template →
Fix "Dear ," when a first name is blank
(blank) → Dear colleague,
Take this route →