Syntax

=SUBSTITUTE(text, old_text, new_text, [instance_num])

Example

=SUBSTITUTE(A1,"-","")

When to Use It

Use SUBSTITUTE to clean up formatting inconsistencies — e.g. removing all dashes from a phone number so every entry follows the same format.