How to delete rows from a given list

dmb41

Board Regular
Joined
Nov 10, 2010
Messages
75
I have a lot of data with parts in each row, like the following:

P101 9 2 1 . . .
P102 8 9 0 ......
P103 ....
P104 ....
P105 ....
P106 ....
P107 ....

How could I eliminate (delete) just the following in the above:
P103
P104
P107

I have about 500 that I want to delete thats why I don't want to do it manually.
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Can you explain the logic behind which rows you want to delete? Your example is not clear enough to understand
 
Upvote 0
Use a filter to show the rows you want to delete.
Use Goto (F5) | Special | Visible Cells Only
Delete Entire Row
 
Upvote 0
JackDanIce - The rows I want to delete would be a given list of parts (P101,P102, etc) out of the given list. There is no logic to the order just parts I want to delete from the list. (There is a list I have (about 500) and the list I want to delete from contains 1000 +).

Hope this helps.
 
Upvote 0
I would use a MATCH function in a column to the right of your main list against your parts-to-delete list. Any formula that brings back a match is what you want to delete, so you can then re-order your main list and delete all those rows out in a single go
 
Upvote 0

Forum statistics

Threads
1,224,570
Messages
6,179,608
Members
452,930
Latest member
racefanjtd

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top