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:

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
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.
 
Upvote 0

Forum statistics

Threads
1,214,594
Messages
6,120,436
Members
448,964
Latest member
Danni317

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