Find values from a list in a specified range and remove row

mattd4385

New Member
Joined
Nov 15, 2010
Messages
42
I have a list a data on say sheet1 col_A,
And a list of data in sheet2 col_A.

The List in sheet1 contains all the data i would like to remove from sheet2 (i would like to remove the row not just the cell).

Other notes:
The sheets can not be sorted in any way.
Sheet1 the removel list dosn't contain repeats
sheet2 may contain repeats


-----Ex.-------
sheet1 col_A: (nothing will change on this sheet it is only a list)
1
4
3
2

sheet2 col_A: (BEFOR)
3
1
12
2
16
4
36

sheet2 col_A: (After)
12
16
36
 
Last edited:

Some videos you may like

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.

DauntingGecko

Well-known Member
Joined
Feb 2, 2006
Messages
521
You can make a new column on sheet 2 and put in the following formula:

=IF(ISERROR(MATCH(A1,lookupList,0)),"","Remove")

Name the list on sheet1, "lookupList" and it will flag up those you want to remove. To delete all of them put an autofilter along the top so you only display the "Remove" rows.
 

Watch MrExcel Video

Forum statistics

Threads
1,122,564
Messages
5,596,870
Members
414,106
Latest member
Tigretto

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
Top