How to Remove Specific Character from Text Cell in Excel

This post will guide you how to remove a specific character from text cell in Excel. How do I remove certain character from a cell with a formula in Excel 2013/2016.

Assuming that you have a list of data in range B1:B5, in which contain text string values. And you want to remove a specific character if it appears in a given cell. For example, if wish to remove all hash (#) character from your range, how to do it. This post will show you two methods to remove specific character.

Method1: Remove Specific Character Using Find and Replace function


Step1: select one range where you want to remove certain character. Such as: B1:B5.

remove specific character from text string1

Step2: go to Home Tab, and click on the Find & Select command under Editing group. And choose Replace from the context menu. And the Find and Replace dialog will open.

remove specific character from text string2

Step3: Type “#” into the Find What text box, and keep the Replace with text box as blank.

remove specific character from text string3

Step4: click on Replace All button. And a prompt dialog will tell you that how many characters are replaced in your selected range of cells. Click Close button to close the Find and Replace dialog box.

remove specific character from text string4remove specific character from text string5

Method2: emove Specific Character Using Formula


You can also use an Excel formula based on the SUBSTITUTE function and the CHAR function to accomplish the same result of removing specific character. Like this:

=SUBSTITUTE(B1,CHAR(35),””)

Type this formula into a blank cell and press Enter key on your keyboard, and then drag the AutoFill Handle down to other cells to apply this formula.

remove specific character from text string6

You would see that this formula can be used to remove all hash characters from a cell.

Related Functions


  • Excel Substitute function
    The Excel SUBSTITUTE function replaces a new text string for an old text string in a text string.The syntax of the SUBSTITUTE function is as below:= SUBSTITUTE  (text, old_text, new_text,[instance_num])….
  • Excel CHAR function
    The Excel CHAR function returns the character specified by a number (ASCII Value). The syntax of the CHAR function is as below: =CHAR(number)….

 

Related Posts

Find and Replace Multiple Values

This post will guide you how to find and replace multiple values at once with VBA macro or using formula  in Excel. How do I make multiple find and replace in Excel. Suppose that you have a few cells containing ...

Extract Last Two Words From Multiple Cells

Just assume that you have a few cells containing values/words and you want to extract the last two words from each cell into another separate cell; then you might think that it's not a big deal; because you would prefer ...

Extract Multiple Lines From A Cell

Suppose that you have listed some text in a single cell which is separated by the line break(you can do it by pressing ALT + ENTER after entering the text), and now you want to extract multiple lines of text ...

How to Remove All Asterisk Characters from Cells in Excel

Sometimes when we opening an excel spreadsheet to check data, we may notice that there are some asterisks exist in texts for security or other reasons. If you feel these special characters are invalid you can remove them from cells. ...

How to Convert Date Format from Dot MM.DD.YYYY to Slash MM/DD/YYYY in Excel

We often enter dates in excel tables, and we can enter current date by quickly press ‘Ctrl+;’ simultaneously. If in some cases we enter a date format that is not what we want, we have to switch the date format ...

Comments

So empty here ... leave a comment!

Leave a Reply

Sidebar