Change curly apostrophes to straight
Turn Zoë O’Neill into Zoë O'Neill so names match and sort the same way.
What you'll make

The formula

| Number | Part | What it does | Result so far |
|---|---|---|---|
| 1 | A8 | The name. ’ and ‘ are curly, ' is straight. | "Ava Reed" |
| 2 | UNICHAR(8217) | The curly apostrophe ’, as in O’Neill. | ’ |
| 3 | SUBSTITUTE( … ,"'") | Swaps each ’ for a straight '. | "Ava Reed" |
| 4 | UNICHAR(8216) | The other curly apostrophe ‘, facing the other way. | ‘ |
| 5 | SUBSTITUTE( … ,"'") | Swaps each ‘ for a straight ' too. | "Ava Reed" |
Each bracket wraps the one above it, so Excel works from the inside out. Names with no apostrophe stay the same.
=SUBSTITUTE(SUBSTITUTE(A8,UNICHAR(8217),"'"),UNICHAR(8216),"'")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 names into the green column of the Template tab. Fixed names fill in by themselves.
- Move them into your letter. Copy the results. Then use Paste Special and choose Values.
Before you send
Only curly apostrophes change. Curly quotation marks like “ and ” stay as they are, so check names that have them.
Route: Get names ready for the letter
Microsoft's help: SUBSTITUTE function



