| A | B | C | D | E | F | G | H | I | J | K | L | M | N | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Phone | Clean | ||||||||||||
| 2 | 020-7946-0018 | 020 7946 0018 | ||||||||||||
| 3 | 0161-496-0725 | |||||||||||||
| 4 | ||||||||||||||
| 5 | ||||||||||||||
| 6 | ||||||||||||||
| 7 | ||||||||||||||
| 8 | ||||||||||||||
| 9 | ||||||||||||||
| 10 | ||||||||||||||
| 11 | ||||||||||||||
| 12 | ||||||||||||||
| 13 | ||||||||||||||
| 14 | ||||||||||||||
| 15 | ||||||||||||||
| 16 | ||||||||||||||
| 17 | ||||||||||||||
| 18 | ||||||||||||||
| 19 | ||||||||||||||
| 20 | ||||||||||||||
| 21 | ||||||||||||||
| 22 | ||||||||||||||
| 23 | ||||||||||||||
| 24 | ||||||||||||||
| 25 | ||||||||||||||
| 26 | ||||||||||||||
| 27 | ||||||||||||||
| 28 | ||||||||||||||
| 29 | ||||||||||||||
| 30 |
More to try
Each of these works on the sheet. Press one to put it in B2.
- gives 02079460018
Replacing with nothing removes the character.
- gives 020 7946-0018
A fourth argument replaces only that occurrence: here, the first dash.
- gives 2
Comparing lengths before and after counts how many dashes there were.
Common mistakes
- It is case-sensitive, so replacing a will not touch A.
- Forgetting it replaces every occurrence unless you give the fourth argument.
- The result is text. A cleaned-up number still needs converting before you can do maths with it.
Practise it
Replace one character with another →Related functions