Use the SUBSTITUTE function when you want to replace text based on matching, not position.

Optionally, you’re able to specify the instance of found text to replace (i.e.

first instance, second instance, etc.).

Excel formula: Remove unwanted characters

To replace one or more characters with nothing, enter anempty string("").

However, SUBSTITUTE can be nested inside of itself to accomplish the same thing.

Use theREPLACE functionto replace text at a known location in a text string.

Excel formula: Convert feet and inches to inches

Use theSUBSTITUTE functionto replace text by searching when the location is not known.

UseFINDorSEARCHto determine the location of specific text.

For example =REPLACE(“XYZ123”,4,3,“456”) returns “XYZ456”.

Excel formula: Replace one character with another

Excel formula: Join cells with comma

Excel formula: Find nth occurrence of character

Excel formula: Count specific words in a range

Excel formula: Count total words in a range

Excel formula: Count specific characters in text string

Excel formula: Extract last two words from cell

Excel formula: Get top level domain (TLD)

Excel formula: Extract nth word from text string

Excel formula: Count specific characters in a range

Excel formula: Split text with delimiter

Excel formula: Count total words in a cell

Excel formula: Split dimensions into three parts

Article image

Article image

Excel REPLACE function