Get a quoted display name from an email
Turn "Ava Reed" <ava@example.com> into Ava Reed for greetings and labels.
Download Excel templateMicrosoft 365
What you'll make

The formula

| Number | Part | What it does | Result so far |
|---|---|---|---|
| 1 | TEXTAFTER(A8,CHAR(34)) | Takes what comes after the first " mark. | "Ava Reed" <…>" |
| 2 | TEXTBEFORE( … ,CHAR(34)) | Keeps what comes before the next " mark. | "Ava Reed" |
| 3 | IFERROR( … ,"") | 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.
- See it work. The Example tab shows 20 made-up names with the formula already in.
- Use your own names. Paste email fields into the green column of the Template tab. The display names fill in by themselves.
- 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
OTHER ROUTES YOU MIGHT LIKE

Separate a name from an em-dash role
Ava Reed — Treasurer → Ava Reed
Get the template →
Get a name before a parenthesized ID
Ava Reed (0027) → Ava Reed
Get the template →
Get a name from a numbered list line
01. Ava Reed → Ava Reed
Get the template →
Fix "Dear ," when a first name is blank
(blank) → Dear colleague,
Take this route →