Loading…
Loading…
SUBSTITUTE replaces existing text with new text.
=SUBSTITUTE(text, old_text, new_text, [instance_num])
| Argument | Required? | What it is |
|---|---|---|
| text | Required | The text or cell to work with. |
| old_text | Required | The text to replace. |
| new_text | Required | The text to put in instead. |
| instance_num | Optional | Which occurrence to use (1 for the first). Negative numbers count from the end. |
=SUBSTITUTE("555-123-4567","-","") removes every dash.
From the lesson SUBSTITUTE Function.
Type the formula yourself and get it graded instantly, no Excel needed.