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