Why it works
- What it does
- SUBSTITUTE(text, old, new) replaces every copy of one piece of text with another; an empty "" as the new text deletes it. Nest one inside another to remove several different characters in one formula.
- The shape of the formula
- =SUBSTITUTE(SUBSTITUTE(text, "-", ""), " ", "")
- How to remember it
- One SUBSTITUTE per character you want gone, nested like boxes.
- The usual mistake
- Removing only the separator you saw first. Numbers written with spaces or dots pass through unchanged.
Keep practicing
Updated