Get a quoted display name from an email

Turn "Ava Reed" <ava@example.com> into Ava Reed for greetings and labels.

What you'll make

In Excel: "Ava Reed" <ava@example.com> becomes Ava Reed.

The formula

The formula, with a numbered bracket under each part.
NumberPartWhat it doesResult so far
1TEXTAFTER(A8,CHAR(34))Takes what comes after the first " mark."Ava Reed" <…>"
2TEXTBEFORE( … ,CHAR(34))Keeps what comes before the next " mark."Ava Reed"
3IFERROR( … ,"")Shows nothing when there is no pair of " marks."Ava Reed"

Each bracket wraps the one above it, so Excel works from the inside out. CHAR(34) is the straight " mark.

=IFERROR(TEXTBEFORE(TEXTAFTER(A8,CHAR(34)),CHAR(34)),"")

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 email fields into the green column of the Template tab. The display names fill in by themselves.
  3. Move them into your letter. Copy the results. Then use Paste Special and choose Values.

Before you send

Only names inside straight " marks come out. Rows with curly quotes or no quotes stay blank, so check those by hand.

Route: Get names ready for the letter

Microsoft's help: TEXTBEFORE function