Forum Discussion
RichardA2021
Jan 21, 2021Copper Contributor
Deleting rows that contain specific content
Copying records from a source into excel, each record copies over as either 2 or 3 lines. Nearly every record contains a unique line with the word "search" in it. I don't need those lines in my spr...
- Jan 21, 2021
You can do this without programming:
- On the Home tab of the ribbon, in the Sort & Filter group, turn on Filter.
- From the filter dropdown in the relevant column, select Text Filters > Contains...
- Enter Search in the box, then click OK.
- You should now see only the rows containing Search.
- Delete those rows.
- Turn off the filter.
michael18972
Jun 14, 2024Copper Contributor
When I do this, and try to delete all the rows, I can't. Column A is a merged cell and I get an error stating I can't delete this. Any ideas on a workaround?
HansVogelaar
Jun 14, 2024MVP
Avoid using merged cells...