How to Remove Specific Text from Cell in Excel (Easiest 11 Ways) (2023)

If you are looking for some of the easiest ways to remove specific text from a cell in Excel, then you will find this article worth it. While working with Excel and dealing with large datasets, sometimes it becomes necessary to delete some text from a cell.
You can do this manually, but it will waste your valuable time. Let’s dive into the article and get some of the easiest ways to remove specific text from cells in Excel.

The following image shows an overview of the article which represents the removal of specific text from cells in Excel.

How to Remove Specific Text from Cell in Excel (Easiest 11 Ways) (1)

Table of Contents hide

Download Excel Workbook

11 Ways to Remove Specific Text from Cell in Excel

Method-2: Using Flash Fill Feature to Remove Text from Cell

Method-3: Using SUBSTITUTE function to Remove Specific Text From Cell in Excel

Method-4: Using MID function

Method-5: Using RIGHT function

Method-6: Using LEFT function to Remove Text from Cell

Method-7: Using REPLACE function to Remove Text from Cell in Excel

Method-8: Removing Text After Specific Character from Cell in Excel

Method-9: Removing Multiple Characters Simultaneously

Method-10: Deleting Texts before the nth occurrence of a Specific Character

Method-11: Deleting Texts after the nth occurrence of a Specific Character

Practice Section

Conclusion

Related Articles

Download Excel Workbook

11 Ways to Remove Specific Text from Cell in Excel

I have a dataset where I have 3 columns. I will use different cells to remove some specific texts and extract some important data using the methods described below. How to Remove Specific Text from Cell in Excel (Easiest 11 Ways) (2)

Here, I have used Microsoft Excel 365 Version. You may use any other version at your convenience.

Method-1: Using Find & Replace Option to Remove Specific Text

For this method, I will use the first column; Product Code where with different items the company name has been included with a character “-”. So, I will extract the product name and delete the company name including this character. You can use the option to perform this task.

How to Remove Specific Text from Cell in Excel (Easiest 11 Ways) (3)

Step-01:
➤ Select the data table
➤ Go to Home Tab>>Editing Dropdown>>Find & Select Dropdown>>Find Option

How to Remove Specific Text from Cell in Excel (Easiest 11 Ways) (4)

Then Find and Replace Dialog Box will appear
➤ Write -XYZ in the Find What Option
➤ Select Replace All Option

How to Remove Specific Text from Cell in Excel (Easiest 11 Ways) (5)

Now another Wizard will pop up
➤ Press OK

How to Remove Specific Text from Cell in Excel (Easiest 11 Ways) (6)

Result:
After that, you will get the Items name as a result.

How to Remove Specific Text from Cell in Excel (Easiest 11 Ways) (7)

Here, I’ve changed the Product Code column to Items.

Read More: How to Remove Text From Excel Cell (9 Easy Ways)

Method-2: Using Flash Fill Feature to Remove Text from Cell

Here, I will use the first column; Product Code where with different items the company name has been included with a character “-”. So, I will extract the product name and delete the company name including this character. For showing this result I have added an Items column. You can use the Flash Fill feature to perform this task.

How to Remove Specific Text from Cell in Excel (Easiest 11 Ways) (8)

Step-01:
➤ Write down the part of the text you want to keep in Cell E5

How to Remove Specific Text from Cell in Excel (Easiest 11 Ways) (9)

➤ Press ENTER

How to Remove Specific Text from Cell in Excel (Easiest 11 Ways) (10)

Step-02:
➤ Follow Home Tab>>Editing Dropdown>>Fill Dropdown>>Flash Fill Option

How to Remove Specific Text from Cell in Excel (Easiest 11 Ways) (11)

Result:
Now you will get your desired output in the Items column

How to Remove Specific Text from Cell in Excel (Easiest 11 Ways) (12)

Read More: How to Remove Text from an Excel Cell but Leave Numbers (8 Ways)

Method-3: Using SUBSTITUTE function to Remove Specific Text From Cell in Excel

Like previous methods, I will use the first column; Product Code where with different items the company name has been included with a character “-”. Unlike the previous one in this section, I’ll use the SUBSTITUTE function for this purpose.

How to Remove Specific Text from Cell in Excel (Easiest 11 Ways) (13)

Step-01:
➤ Select Cell E5
➤ Type the following formula

=SUBSTITUTE(B5,"-XYZ","")

B5 is the text, -XYZ is the old text you want to replace and it will be replaced by Blank.

How to Remove Specific Text from Cell in Excel (Easiest 11 Ways) (14)

Step-02:
➤ Press ENTER
➤ Drag down the Fill Handle tool.

How to Remove Specific Text from Cell in Excel (Easiest 11 Ways) (15)

Result:
Then you will get the texts with removing the unwanted part in the Items column

How to Remove Specific Text from Cell in Excel (Easiest 11 Ways) (16)

Read More: How to Remove Letters from Cell in Excel (10 Methods)

Method-4: Using MID function

Similar to the previous one I will use the first column; Product Code where with different items the company name has been included with a character “-”. For showing this result I have added an Items column. You can use the MID function and the Find function for this case.

How to Remove Specific Text from Cell in Excel (Easiest 11 Ways) (17)

Step-01:
➤ Select Cell E5
➤ Type the following formula

=MID(B5,1,FIND("-",B5,1)-1)

B5 is the text, 1 is the start number,
FIND("-", B5, 1)-1 here, FIND will give the position of character “-” and then the value will be deducted from 1. It will be the number of characters in the MID function.

How to Remove Specific Text from Cell in Excel (Easiest 11 Ways) (18)

Step-02:
➤ Press ENTER
➤ Drag down the Fill Handle tool.

How to Remove Specific Text from Cell in Excel (Easiest 11 Ways) (19)

Result:
Now you will get your desired texts in the Items column

How to Remove Specific Text from Cell in Excel (Easiest 11 Ways) (20)

Method-5: Using RIGHT function

In the Color with Code column, I have some colors combined with their code no. For removing the code no you can use the RIGHT function.

How to Remove Specific Text from Cell in Excel (Easiest 11 Ways) (21)

Step-01:
➤ Select Cell E5
➤ Type the following formula

=RIGHT(D5,LEN(D5)-FIND("-",D5,1))

D5 is the text,
LEN(D5) is the total length of the string
FIND("-", D5,1) will give the position of character “-” and then the value will be deducted from the total length of the string and it will be the number of characters for the RIGHT function.

How to Remove Specific Text from Cell in Excel (Easiest 11 Ways) (22)

Step-02:
➤ Press ENTER
➤ Drag down the Fill Handle tool.

How to Remove Specific Text from Cell in Excel (Easiest 11 Ways) (23)

Result:
Now you will get only the name of the colors as below.

How to Remove Specific Text from Cell in Excel (Easiest 11 Ways) (24)

Read More: How to Remove Text before a Space with Excel Formula (5 Methods)

Method-6: Using LEFT function to Remove Text from Cell

If you want to extract the color code and remove the color name from the column Color with Code then you can use the LEFT function. I have added a Color Code column for this reason.

How to Remove Specific Text from Cell in Excel (Easiest 11 Ways) (25)

Step-01:
➤ Select Cell E5
➤ Type the following formula

=LEFT(D5,3)

D5 is the text,
3 is the number of characters you want to extract.

How to Remove Specific Text from Cell in Excel (Easiest 11 Ways) (26)

Step-02:
➤ Press ENTER
➤ Drag down the Fill Handle tool.

How to Remove Specific Text from Cell in Excel (Easiest 11 Ways) (27)

Result:
Afterward, you will get the code of colors in the Color Code column.

How to Remove Specific Text from Cell in Excel (Easiest 11 Ways) (28)

Method-7: Using REPLACE function to Remove Text from Cell in Excel

For removing the color codes in the Color with Code column you can use the REPLACE function. For having the outputs I have added the Color column.

How to Remove Specific Text from Cell in Excel (Easiest 11 Ways) (29)

Step-01:
➤ Select Cell E5
➤ Type the following formula

=REPLACE(D5,1,4,"")

D5 is the text,
1 is the start number, 4 is the number of characters you want to replace with blank.

How to Remove Specific Text from Cell in Excel (Easiest 11 Ways) (30)

Step-02:
➤ Press ENTER
➤ Drag down the Fill Handle tool.

How to Remove Specific Text from Cell in Excel (Easiest 11 Ways) (31)

Result:
Afterward, you will get the name of colors in the Color column.

How to Remove Specific Text from Cell in Excel (Easiest 11 Ways) (32)

Read More: How to Remove Specific Text from a Column in Excel (8 Ways)

Method-8: Removing Text After Specific Character from Cell in Excel

Suppose, you want to remove the last three sizes in the Size column. So, you can use the Find & Replace option here.

How to Remove Specific Text from Cell in Excel (Easiest 11 Ways) (33)

Step-01:
➤ Select the datatable
➤ Go to Home Tab>>Editing Dropdown>>Find & Select Dropdown>>Find Option

How to Remove Specific Text from Cell in Excel (Easiest 11 Ways) (34)

Then Find and Replace Dialog Box will appear
➤ Write “,*” in the Find What Option
➤ Select Replace All Option
,* will help to find all of the texts after the comma.

How to Remove Specific Text from Cell in Excel (Easiest 11 Ways) (35)

Now another Wizard will pop up
➤ Press OK

How to Remove Specific Text from Cell in Excel (Easiest 11 Ways) (36)

Result:
Then you will get the first sizes in the Size column.

How to Remove Specific Text from Cell in Excel (Easiest 11 Ways) (37)

Read More: How to Remove Text After Character in Excel (3 Ways)

Method-9: Removing Multiple Characters Simultaneously

Suppose, you want to remove all of the brackets separating colors in the Color with Code column and use “-” as a separator. So, you can use the SUBSTITUTE function here.

How to Remove Specific Text from Cell in Excel (Easiest 11 Ways) (38)

Step-01:
➤ Select Cell E5
➤ Type the following formula

=SUBSTITUTE(SUBSTITUTE(D5,"(","-"),")","")

D5 is the text,
SUBSTITUTE(D5,"(","-") here,“(” is the old text you want to replace with “-“.
Then this output will be used by another SUBSTITUTE function.

How to Remove Specific Text from Cell in Excel (Easiest 11 Ways) (39)

Step-02:
➤ Press ENTER
➤ Drag down the Fill Handle tool.

How to Remove Specific Text from Cell in Excel (Easiest 11 Ways) (40)

Result:
Now you will get your desired format in the output column as below.

How to Remove Specific Text from Cell in Excel (Easiest 11 Ways) (41)

Method-10: Deleting Texts before the nth occurrence of a Specific Character

Suppose, you want to get only the last size instead of the 4 sizes in the Size column. To do this you can use the RIGHT function and the SUBSTITUTE function.

How to Remove Specific Text from Cell in Excel (Easiest 11 Ways) (42)

Step-01:
➤ Select Cell E5
➤ Type the following formula

=RIGHT(SUBSTITUTE(C5,",",CHAR(9),3),LEN(C5)-FIND(CHAR(9),SUBSTITUTE(C5,",",CHAR(9),3),1)+1)

C5 is the text,
SUBSTITUTE(C5,",", CHAR(9),3) here comma will be replaced by CHAR(9)(blank) and 3 is used to define the position of a comma before which I want to remove texts
Then the RIGHT function will give the output as the last size number from the right side.

How to Remove Specific Text from Cell in Excel (Easiest 11 Ways) (43)

Step-02:
➤ Press ENTER
➤ Drag down the Fill Handle tool.

How to Remove Specific Text from Cell in Excel (Easiest 11 Ways) (44)

Result:
Now you will get your desired sizes in the Size column

How to Remove Specific Text from Cell in Excel (Easiest 11 Ways) (45)

Method-11: Deleting Texts after the nth occurrence of a Specific Character

For getting only the first size instead of 4 sizes in the Size column, you can use the LEFT function and the SUBSTITUTE function.

How to Remove Specific Text from Cell in Excel (Easiest 11 Ways) (46)

Step-01:
➤ Select Cell E5
➤ Type the following formula

=LEFT(SUBSTITUTE(C5,",",CHAR(9),1),FIND(CHAR(9),SUBSTITUTE(C5,",",CHAR(9),1),1)-1)

C5 is the text,
SUBSTITUTE(C5,",", CHAR(9),3) here comma will be replaced by CHAR(9)(blank) and 1 is used to define the position of a comma after which I want to remove texts
Then the LEFT function will give the output as the last size number from the left side.

How to Remove Specific Text from Cell in Excel (Easiest 11 Ways) (47)

Step-02:
➤ Press ENTER
➤ Drag down the Fill Handle tool.

How to Remove Specific Text from Cell in Excel (Easiest 11 Ways) (48)

Result:
Then you will get the first sizes in the Size column.

How to Remove Specific Text from Cell in Excel (Easiest 11 Ways) (49)

Read More: How to Remove Text between Two Characters in Excel (3 Easy Ways)

Practice Section

For doing practice on your own we have provided a section for this purpose in a sheet named Practice. Please do it by yourself.

How to Remove Specific Text from Cell in Excel (Easiest 11 Ways) (50)

Conclusion

In this article, I have tried to explain the easiest methods to remove specific text from cells in Excel. Hope you will find it helpful. Please provide any further suggestions if you have any. Thank you.

Related Articles

  • How to Delete Defined Names in Excel (3 Ways)
Top Articles
Latest Posts
Article information

Author: Neely Ledner

Last Updated: 01/27/2023

Views: 6189

Rating: 4.1 / 5 (42 voted)

Reviews: 81% of readers found this page helpful

Author information

Name: Neely Ledner

Birthday: 1998-06-09

Address: 443 Barrows Terrace, New Jodyberg, CO 57462-5329

Phone: +2433516856029

Job: Central Legal Facilitator

Hobby: Backpacking, Jogging, Magic, Driving, Macrame, Embroidery, Foraging

Introduction: My name is Neely Ledner, I am a bright, determined, beautiful, adventurous, adventurous, spotless, calm person who loves writing and wants to share my knowledge and understanding with you.