Remove a specified title from a name

Turn Dr. Ava Reed into Ava Reed when you need the name without the title.

What you'll make

In Excel: Dr. Ava Reed + Dr. becomes Ava Reed.

The formula

The formula, with a numbered bracket under each part.
NumberPartWhat it doesResult so far
1LEFT(TRIM(A8),LEN(TRIM(B8))+1)The start of the name, as long as part 2."Dr. "
2TRIM(B8)&" "The title with a space after it."Dr. "
3TRIM(MID(TRIM(A8),LEN(TRIM(B8))+2,LEN(TRIM(A8))))Keeps everything after the title and space."Ava Reed"
4TRIM(A8)The whole name, used when the title doesn't match.Not used for row 8
5IF( … )Removes the title only when parts 1 and 2 match."Ava Reed"

Read it left to right. Capitals don't matter when parts 1 and 2 are compared, so dr. matches Dr.

=IF(LEFT(TRIM(A8),LEN(TRIM(B8))+1)=TRIM(B8)&" ",TRIM(MID(TRIM(A8),LEN(TRIM(B8))+2,LEN(TRIM(A8)))),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 names with titles into column A of the Template tab and the title to remove into column B. Names fill in by themselves.
  3. Move them into your letter. Copy the results. Then use Paste Special and choose Values.

Before you send

Type the title exactly as it is in the name, period included. Dr won't remove Dr., so check those rows.

Route: Get names ready for the letter

Microsoft's help: MID function