Excel Formulas to Remove the Unwanted Characters ~ Easy Tricks!!
Tags: excelformula, excelformulas
Published: 2021-06-22 03:12:38

---
title: Excel Formulas to Remove the Unwanted Characters ~ Easy Tricks!!
published: true
date: 2021-06-16 10:22:16 UTC
tags: ExcelFormula,Excelformulas
canonical_url: https://geekexcel.com/excel-formulas-to-remove-the-unwanted-characters/
---

Sometimes, you need to **remove all the unwanted characters from the text strings in Excel**. This article provides some quick tricks to achieve this job. Let’s get into this article!! Get an official version of ** MS Excel**  from the following link: [https://www.microsoft.com/en-in/microsoft-365/excel](https://www.microsoft.com/en-in/microsoft-365/excel)

[![Remove unwanted characters](https://geekexcel.com/wp-content/uploads/2021/06/Remove-unwanted-characters.png)](https://geekexcel.com/excel-formulas-to-remove-the-unwanted-characters/remove-unwanted-characters/#main)<figcaption id="caption-attachment-46518">Remove unwanted characters</figcaption>

## General Formula:

- You can use the below formula to remove unwanted characters in Excel.

**=[SUBSTITUTE](https://geekexcel.com/how-to-use-substitute-function-in-microsoft-excel-2013/)(A1,[CHAR](https://geekexcel.com/how-to-use-char-function-in-microsoft-excel-365/)(code),””)**

## Syntax Explanations:

- **SUBSTITUTE ** – This function can replace existing text with new text in a text string when you want to replace text based on its content, not position.  Read more on the [**SUBSTITUTE **** function**](https://geekexcel.com/how-to-use-substitute-function-in-microsoft-excel-2013/).
- **CHAR**  – In Excel, the **[CHAR function](https://geekexcel.com/how-to-use-char-function-in-microsoft-excel-365/)** helps to get a character by a specified number.
- **A1 ** – It represents the input value.
- **Comma symbol (,)** – It is a separator that helps to separate a list of values.
- **Parenthesis ()** – The main purpose of this symbol is to group the elements.

## Example:

Refer to the below example image.

- Here we will enter the input values in **Column B**.
- Now we are going to delete all the unwanted characters from the text string.

![Input Range](https://geekexcel.com/wp-content/uploads/2021/06/Input-Range-13.png)<figcaption id="caption-attachment-46517">Input Range</figcaption>

- Select any cell and type the above-given formula.

![Enter the formula](https://geekexcel.com/wp-content/uploads/2021/06/Enter-the-formula-50.png)<figcaption id="caption-attachment-46516">Enter the formula</figcaption>

- Finally, press the ** ENTER**  key, you can get the result as shown below.

![Result](https://geekexcel.com/wp-content/uploads/2021/06/Result-41.png)<figcaption id="caption-attachment-46515">Result</figcaption>

## Closure:

From this tutorial, you can get some clarification on how to **remove all the unwanted characters in Excel**. Hope you like this article. If you have any **issues** regarding this article or any unresolved **queries** , please comment in the **comment** box below. We will assist you.

Thank you so much for visiting  **[Geek Excel](https://geekexcel.com/)!! **If you want to learn more helpful formulas, check out [**Excel Formulas**](https://geekexcel.com/excel-formula/) **!! **

### Read Also:

- **[Excel Formulas to Remove the Text By Variable Position ~ Quickly!!](https://geekexcel.com/excel-formulas-to-remove-the-text-by-variable-position/)**
- **[Formulas for Counting Rows that Matches Two or More Criteria in Excel!!](https://geekexcel.com/formulas-for-counting-rows-that-matches-two-or-more-criteria-in-excel/)**
- **[Excel Formulas to Remove the First Character ~ A Complete Tutorial!!](https://geekexcel.com/excel-formulas-to-remove-the-first-character/)**
- **[Excel Formulas to Remove the Text By Position ~ Simple Tutorial!!](https://geekexcel.com/excel-formulas-to-remove-the-text-by-position/)**