Loading…
Loading…
SUBSTITUTE replaces specific text inside a string. Optionally give an instance number to change only the 1st, 2nd, … occurrence. It is case-sensitive.
Syntax
SUBSTITUTE(text, old_text, new_text, [instance_num])
Example: =SUBSTITUTE("555-123-4567","-","") removes every dash.
Common mistakes
Read the lesson, then try it yourself in a live spreadsheet.