Keep the last two words of a name

Turn Ava Reed Park into Reed Park for two-word surnames.

What you'll make

In Excel: Ava Reed Park becomes Reed Park.

The formula

The formula, with a numbered bracket under each part.
NumberPartWhat it doesResult so far
1TRIM(A8)Removes any extra spaces from the name."Ava Reed Park"
2TEXTAFTER( … " ",-2)Keeps what comes after the second-to-last space."Reed Park"
3TRIM(A8)With only one or two words, keeps the whole name.Not used for row 8
4IFERROR( … )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.

  1. See it work. The Example tab shows 20 made-up names with the formula already in.
  2. Use your own names. Paste full names into the green column of the Template tab. The last two words fill in by themselves.
  3. 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