Remove an end semicolon from an email
Turn ava@example.com; into ava@example.com after a list export.
What you'll make

The formula

| Number | Part | What it does | Result so far |
|---|---|---|---|
| 1 | RIGHT(TRIM(A8),1)=";" | True when the email ends with a semicolon. | TRUE |
| 2 | LEFT(TRIM(A8),LEN(TRIM(A8))-1) | Keeps everything except the last character. | "ava@example.com" |
| 3 | TRIM(A8) | The email as it is, with extra spaces removed. | Not used for row 8 |
| 4 | IF( … ) | Removes the semicolon only when part 1 is true. | "ava@example.com" |
Read it left to right. Only one semicolon at the end comes off. The addresses here are made-up.
=IF(RIGHT(TRIM(A8),1)=";",LEFT(TRIM(A8),LEN(TRIM(A8))-1),TRIM(A8))How to use it
Yellow bar at the top? Click Enable Editing.
- See it work. The Example tab shows 20 made-up examples with the formula already in.
- Use your own emails. Paste email addresses into the green column of the Template tab. The clean emails fill in by themselves.
- Move them into your letter. Copy the results. Then use Paste Special and choose Values.
Before you send
An email ending in two semicolons keeps one, and cells with several addresses need a look.
Microsoft's help: RIGHT function
OTHER ROUTES YOU MIGHT LIKE

Swap an old email domain for a new one
[email protected] → [email protected]
Get the template →
Restore at signs written as HTML codes
ava@example.com → [email protected]
Get the template →
Decode at signs and plus signs in emails
ava%2Bteam%40example.com → [email protected]
Get the template →
Check each email went to the right address, once
Your list of 2 → 2 sent copies, each to the right address
Take this route →