Go Back

Remove unwanted characters

Figure 1. Remove Unwanted Characters in Excel.

If we are required to remove/delete certain unwanted characters from a text string, we are going to make use of the Excel SUBSTITUTE function.

Generic Formula

=SUBSTITUTE(B4,CHAR(code),"")

The Excel SUBSTITUTE function can be used for finding and replacing text in a cell.

How to use the SUBSTITUTE function in Excel.

To utilize the SUBSTITUTE function in Excel, carry out the following 3 simple steps;

1.The example illustrated below has an ORIGINAL column, containing the text string that we are going to clear of any unwanted characters, and a CLEANED column for Excel to return the desired results.

Figure 2. Remove Unwanted Characters in Excel.

  1. Assign the following SUBSTITUTE formula to cell B2 of our worksheet;

=SUBSTITUTE(A2,CHAR(202),"")

Figure 3. Remove Unwanted Characters in Excel.

Any unwanted characters are very easily removed from the string by the SUBSTITUTE formula.

  1. Modify and apply the SUBSTITUTE formula in cell B2 to the other cells in the CLEANED column for the desired results to be returned;

Figure 4. Remove Unwanted Characters in Excel.

The Excel SUBSTITUTE Function is very useful when we are working with large volumes of text.

Figure 5. Final Result.

Instant Connection to an Expert through our Excelchat Service:

Our live Excelchat Service is here for you. We have Excel Experts available 24/7 to answer any Excel questions you may have. Guaranteed connection within 30 seconds and a customized solution for you within 20 minutes.

Did this post not answer your question? Get a solution from connecting with the expert.

Another blog reader asked this question today on Excelchat:
Here are some problems that our users have asked and received explanations on

Hey i need to remove unwanted data in the x-axis on a graph
Solved by O. Q. in 25 mins
remove specifics characters on "" "" with specials find replace with ";"
Solved by F. J. in 20 mins
MY =RIGHT FORMULA TO REMOVE CHARACTERS IN EXCELL IS NOT WORKING
Solved by I. D. in 19 mins

Leave a Comment

avatar