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

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"

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.
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,516
Messages
5,832,205
Members
430,115
Latest member
RainerJonker

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