how to replace text in excel using formula code example Example: excel replace character =SUBSTITUTE(text,old,new)