Put a name and role on separate lines
Turn Ava Reed and Treasurer into a two-line label for badges and letters.
What you'll make

The formula

| Number | Part | What it does | Result so far |
|---|---|---|---|
| 1 | TRIM(A8) | The full name, tidied up. ¶ marks a line break. | "Ava Reed" |
| 2 | IF(TRIM(B8)…) | Adds a line break and the role, if there is one. | "Ava Reed¶Treasurer" |
The second line only appears when there is a role.
=TRIM(A8)&IF(TRIM(B8)="","",CHAR(10)&TRIM(B8))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 full names and roles into the green columns of the Template tab. Leave the role empty when there isn't one.
- Move them into your letter. Copy the results. Then use Paste Special and choose Values.
Before you send
Turn on Wrap Text where you paste the results, or the name and role show on one line.
Route: Get names ready for the letter
Microsoft's help: CHAR function
OTHER ROUTES YOU MIGHT LIKE

Make an attention line from a name
Ava Reed → Attn: Ava Reed
Get the template →
Make a care-of line from a name
Ava Reed → c/o Ava Reed
Get the template →
Add several credentials after a name
Ava Reed + CPA + MBA → Ava Reed, CPA, MBA
Get the template →
Fix "Dear ," when a first name is blank
(blank) → Dear colleague,
Take this route →