Get the rest of a hyphenated last name

Pull Park out of Reed-Park, so the second part has its own column.

What you'll make

In Excel: Reed-Park becomes Park.

The formula

The formula, with a numbered bracket under each part.
NumberPartWhat it doesResult so far
1TEXTAFTER(A8,"-")Takes everything after the first hyphen."Park"
2TRIM( … )Removes any spaces left at the ends."Park"
3IFERROR( … ,"")Shows nothing when there is no hyphen."Park"

Each bracket wraps the one above it, so Excel works from the inside out.

=IFERROR(TRIM(TEXTAFTER(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 hyphenated last names into the green column of the Template tab. The part after the hyphen fills in by itself.
  3. Move them into your letter. Copy the results. Then use Paste Special and choose Values.

Before you send

Only the first plain hyphen counts. A blank means none was found, so check those names, since a long dash looks like a hyphen.

Route: Get names ready for the letter

Microsoft's help: TEXTAFTER function