A very common problem while using MS Excel is how to remove numbers from text cells. For some reason, various systems mix up text and numbers intentionally or accidentally. This article will guide you to remove numbers from a cell in excel with some quick methods together with some suitable examples and proper illustrations.

**Table of Contents**hide

**Download Practice Book**

You can download the free Excel template from here and practice on your own.

**7 Effective Ways to Remove Numbers from a Cell in Excel**

Letâ€™s get introduced to our dataset first. I have placed some **Product Names** and their **IDs**â€™ in my dataset. The letters and the numbers have different meanings. For some reason, we want to remove the numbers from the **Product IDs**.

In the following methods, we will see how to remove the numbers from the cells with detailed explanations.

**Method 1: Use Find & Replace with Wildcards to Remove Numbers from a Cell in Excel**

In this method, weâ€™ll remove those numbers using the **Find & Replace** command with the **Wildcards**.

In this stage, we have some rough numbers closed with parentheses and placed in the Products Names column. We will remove these numbers. So, letâ€™s see the steps below.

**Steps:**

âž¤ Select the data range **B5:B11**.

âž¤ Press **Ctrl+H** to open **Find & Replace** command.

âž¤ Then type **(*)** in the **Find what** box and keep the **Replace with** box empty.

âž¤ After that, press **Replace All**.

Now you will spot that all the numbers with the productsâ€™ names are gone.

**Method 2: Apply Find & Select Tool to Delete Numbers from a Cell in Excel**

Here, look that there are two cells in the Product IDs column which contain numbers only. Now weâ€™ll remove the numbers from the **IDsâ€™ **cells using **Find & Select **command.

**Step 1:**

âž¤ Select the data range **C5:C11**.

âž¤ Then go to the **Home **tab** > **the** Editing **group **> Find & Select > Go to Special**

A dialog box will open up.

**Step 2:**

âž¤ Mark only **Numbers **from the **Constants **option.

âž¤ Press **OK**.

Now, look that the cells, only the numbers are highlighted.

**Step 3:**

âž¤ Later, just press the **Delete **button on your keyboard.

Here it is. The numbers are removed.

**Method 3: Use Excel Flash Fill to Remove Numbers from a Cell**

Itâ€™s one of the easiest methods. Look that the product IDs, which are a mixture of text and numbers. Weâ€™ll remove the numbers from the cells using Excel **Flash Fill**.

**Step 1:**

âž¤ First, type only the text (not the digits) of the first cell to a new column adjacent to it.

âž¤ Then hit the **Enter **button.

**Step 2:**

âž¤ Select **Cell D5**.

âž¤ Now go to **Data > Data Tools > Flash Fill**.

Now you will observe that all the numbers are removed.

**Method 4: Insert SUBSTITUTE Function to Remove Numbers from a Cell in Excel**

In this method, weâ€™ll do the task using **the SUBSTITUTE function**.Â The **SUBSTITUTE **function replaces an existing text with a new text in a string.

Now, letâ€™s follow the steps below one by one.

**Step 1:**

âž¤ Write the formula given below in **Cell D5**â€“

`=SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(C5,1,""),2,""),3,""),4,""),5,""),6,""),7,""),8,""),9,""),0,"")`

âž¤ Then just press the **Enter **button.

**Step 2:**

âž¤ Now **double-click** the** Fill Handle** icon and the formula will be copied down automatically.

Now you will see that the numbers are removed from the cells.

**Similar Readings:**

**How to Remove Subtotals in Excel (2 Easy Tricks)****Data clean-up techniques in Excel: Replacing or removing text in cells****How to Remove Formulas in Excel: 7 Easy Ways**

**Method 5: Combine TEXTJOIN, MID, ROW, LEN, and INDIRECT Functions to Erase Numbers from a Cell in Excel**

Here, weâ€™ll combine the **TEXTJOIN**, **MID**, **ROW**, **LEN**, and **INDIRECT **functions to remove numbers from a cell. The **TEXTJOIN **function is applied to join text from multiple strings together. The **Mid **function in excel is used to find out strings and return them from any mid part of the excel. The **ROW **function returns the row number for reference. The **LEN **function is a text function in excel that returns the length of a string/ text. The **INDIRECT **function returns a reference to a range.

**Step 1:**

âž¤ Type the formula in **Cell D5**â€“

`=TEXTJOIN("",TRUE,IF(ISERR(MID(C5,ROW(INDIRECT("1:"&LEN(C5))),1)+0),MID(C5,ROW(INDIRECT("1:"&LEN(C5))),1),""))`

âž¤ Hit the **Enter **button.

**Step 2:**

âž¤ Then drag the **Fill Handle** icon to copy the formula.

**đź‘‡**** Formula Breakdown:**

**âžĄ**** ROW(INDIRECT(â€ś1:â€ť&LEN(C5)))**

It will find the resultant array list from the ROW and INDIRECT functions that returns as-

**{1;2;3;4}**

**âžĄ**** MID(B3,ROW(INDIRECT(â€ś1:â€ť&LEN(B3))),1)**

The MID function is applied to extract the alphanumeric string based on the start_num and num_chars arguments.And for the num-chars argument, weâ€™ll put 1. After putting the arguments in the MID function, it will return an array like-

**{â€śBâ€ť;â€ťHâ€ť;â€ť2â€ł;â€ť3â€ł}**

**âžĄ**** ISERR(MID(B3,ROW(INDIRECT(â€ś1:â€ť&LEN(B3))),1)+0)**

After adding 0, the output array is put into the **ISERR **function. Itâ€™ll create an array of **TRUE **and **FALSE**, **TRUE **for non-numeric characters, and **FALSE **for numbers. The output will return as-

**{TRUE;TRUE;FALSE;FALSE}**

**âžĄ**** IF(ISERR(MID(B3,ROW(INDIRECT(â€ś1:â€ť&LEN(B3))),1)+0),MID(B3,ROW(INDIRECT(â€ś1:â€ť&LEN(B3))),1),â€ťâ€ť)**

The **IF **function will check the output of the **ISERR **function. If its value returns **TRUE**, it will return an array of all the characters of an alphanumeric string. So we have added another **MID **function. If the value of the **IF **function is **FALSE**, it will return blank **(â€śâ€ť). **So finally weâ€™ll get an array that contains only the non-numeric characters of the string. That is-

**{â€śBâ€ť;â€ťHâ€ť;â€ťâ€ť;â€ťâ€ť}**

**âžĄ**** TEXTJOIN(â€śâ€ť,TRUE,IF(ISERR(MID(B3,ROW(INDIRECT(â€ś1:â€ť&LEN(B3))),1)+0),MID(B3,ROW(INDIRECT(â€ś1:â€ť&LEN(B3))),1),â€ťâ€ť))**

The **TEXTJOIN **function will join all the characters of the above array and avoid the empty string. The delimiter for this function is set as an empty string **(â€śâ€ť) **and the ignored empty argumentâ€™s value is entered **TRUE**. This will give our expected result-

**{BH}**

**Method 6: Join TEXTJOIN, IF, ISERR, SEQUENCE, LEN, and MID Functions to Delete Numbers from a Cell in Excel**

Weâ€™ll combine another set of functions to do the task now. Thatâ€™s are the **TEXTJOIN**, **IF**, **ISERR**, **SEQUENCE**, **LEN**, **MID **functions. The **IF **function is used to return one value if a condition is true and another value if itâ€™s false. The **ISERR **function returns **TRUE **if the value is any error value, except **#N/A. **The **SEQUENCE **function allows you to generate a list of sequential numbers in an array, such as 1, 2, 3, 4.

**Step 1:**

âž¤ In **Cell D5** write the given formula-

`=TEXTJOIN("", TRUE, IF(ISERROR(MID(C5, SEQUENCE(LEN(C5)), 1) *1), MID(C5, SEQUENCE(LEN(C5)), 1), ""))`

âž¤ Press the **Enter **button to get the result.

**Step 2:**

âž¤ Then just apply the** AutoFill** option to copy the formula.

**đź‘‡**** Formula Breakdown:**

**âžĄ**** LEN(C5)**

The **LEN **function will find the string length of **Cell C5** that will return as-

**{4}**

**âžĄ**** SEQUENCE(LEN(C5))**

Then the **SEQUENCE **function will give the sequential number according to the length that returns as-

**{1;2;3;4}**

**âžĄ**** MID(C5, SEQUENCE(LEN(C5)), 1)**

The MID function will return the value of that previous position numbers which results-

**{â€śBâ€ť;â€ťHâ€ť;â€ť2â€ł;â€ť3â€ł}**

**âžĄ**** ISERROR(MID(C5, SEQUENCE(LEN(C5)), 1) *1)**

Now the **ISERROR **function will show TRUE if it finds an error otherwise it will show FALSE. The result is-

**{TRUE;TRUE;FALSE;FALSE}**

**âžĄ**** IF(ISERROR(MID(C5, SEQUENCE(LEN(C5)), 1) *1), MID(C5, SEQUENCE(LEN(C5)), 1), â€śâ€ť)**

Then the **IF **function sees **TRUE**, it inserts the corresponding text character into the processed array with the help of another **MID **function. And sees **FALSE**, it replaces it with an empty string:

**{â€śBâ€ť;â€ťHâ€ť;â€ťâ€ť;â€ťâ€ť}**

**âžĄ**** TEXTJOIN(â€śâ€ť, TRUE, IF(ISERROR(MID(C5, SEQUENCE(LEN(C5)), 1) *1), MID(C5, SEQUENCE(LEN(C5)), 1), â€śâ€ť))**

The final array will be passed over to the **TEXTJOIN **function, so it concatenates the text characters and outputs the result as-

**{BH}**

**Method 7: Insert User-defined Function to Remove Numbers from a Cell in Excel**

**Case-1: Remove Numbers from a Cell**

In this method, we will create a user-defined function named â€ś**RemNumb**â€ť using Excel **VBA**. Then we can apply it to remove numbers from a cell in excel. Follow the steps below.

**Step 1:**

âž¤ **Right-click **on the sheet title.

âž¤ Select **View Code** from the **context menu**.

Soon after, a **VBA **window will appear.

**Step 2:**

âž¤ Later, write the codes given below:

```
Option Explicit
Function RemNumb(Text As String) As String
With CreateObject("VBScript.RegExp")
.Global = True
.Pattern = "[0-9]"
RemNumb = .Replace(Text, "")
End With
End Function
```

âž¤ Then press the **Play icon** to run the codes.

Now our function is ready to use.

**Step 3:**

âž¤ In **Cell D5** type-

`=RemNumb(C5)`

âž¤ Hit the **Enter **button to get the result.

**Step 4:**

âž¤ Finally, drag the **Fill Handle** icon to copy the formula.

**Case-2: Split Numbers and Text into Separate Columns**

In our last method, weâ€™ll again use Excel **VBA **to make a new user-defined function named â€ś**SplitTextOrNumb**â€ť to split numbers and text into separate columns.

**Step 1:**

âž¤ Like the previous method open the **VBA **window and write the formula-

```
Option Explicit
Function SplitTextOrNumb(str As String, is_remove_text As Boolean) As String
Â Â Â Â With CreateObject("VBScript.RegExp")
Â Â Â Â Â Â Â Â .Global = True
Â Â Â Â Â Â Â Â If True = is_remove_text Then
Â Â Â Â Â Â Â Â Â Â Â Â .Pattern = "[^0-9]"
Â Â Â Â Â Â Â Â Else
Â Â Â Â Â Â Â Â Â Â Â Â .Pattern = "[0-9]"
Â Â Â Â Â Â Â Â End If
Â Â Â Â Â Â Â Â SplitTextOrNumb = .Replace(str, "")
Â Â Â Â End With
End Function
```

âž¤ Then click **Run **and a **Macro **will open up.

**Step 2:**

âž¤ Give a macro name and press the **Run **tab again.

**Step 3:**

âž¤ Now our function is ready to apply. To remove text characters now write the formula in **Cell D5**â€“

`=SplitTextOrNumb(C5,1)`

To delete numeric characters:

`=SplitTextOrNumb(C5,0)`

**Step 3:**

âž¤ Finally, just press the **Enter **button and use the **Fill Handle** tool to copy the formula.

**Conclusion**

I hope all of the methods described above will be good enough to remove numbers from a cell in excel. Feel free to ask any questions in the comment section and please give me feedback.