9 C
London
Friday, May 16, 2025
HomeSoftware TutorialsExcelExcel: How to Delete Rows with Specific Text

Excel: How to Delete Rows with Specific Text

Related stories

Learn About Opening an Automobile Repair Shop in India

Starting a car repair shop is quite a good...

Unlocking the Power: Embracing the Benefits of Tax-Free Investing

  Unlocking the Power: Embracing the Benefits of Tax-Free Investing For...

Income Splitting in Canada for 2023

  Income Splitting in Canada for 2023 The federal government’s expanded...

Can I Deduct Home Office Expenses on my Tax Return 2023?

Can I Deduct Home Office Expenses on my Tax...

Canadian Tax – Personal Tax Deadline 2022

  Canadian Tax – Personal Tax Deadline 2022 Resources and Tools...

The following step-by-step example shows how to delete all rows in Excel that contain specific text.

Step 1: Create the Data

First, let’s create a dataset that shows the ratings of three players on different basketball teams:

Step 2: Find Values with Specific Text

Suppose we would like to delete every row that contains Bad as one of the ratings.

On the Home tab, click the Find & Select icon and then click Find from the dropdown menu:

In the new window that appears, type Bad into the search box and then click Find All.

Then click Ctrl+A to highlight all of the cells that contain the text Bad. Then click Close.

All of the cells that contain Bad will be highlighted.

Step 3: Delete Rows with Specific Text

Next, click the Delete icon on the Home tab and then select Delete Sheet Rows from the dropdown menu:

All of the rows that contained Bad in one of the cells will automatically be deleted:

Notice that none of the remaining rows contain Bad as a player rating in any column.

Additional Resources

The following tutorials explain how to perform other common tasks in Excel:

Excel: How to Check if Cell Contains Partial Text
Excel: How to Check if Cell Contains Text from List
Excel: How to Calculate Average If Cell Contains Text
Excel: How to Count Frequency of Text

Subscribe

- Never miss a story with notifications

- Gain full access to our premium content

- Browse free from up to 5 devices at once

Latest stories