How would you accomplish this most easily?

AdHustler

New member
Aug 24, 2007
4,377
44
0
I have an excel spreadsheet with 13,000 items in it. (List A)

I have another excel spreadsheet with approximately 1,500 items in it. (List B)

How would I most easily and quickly remove the items in List B from List A?

Thanks for any help.
 


i tried what was in that link.

What it seems to do is remove the duplicates. For instance if there are 12 records and 2 of the records have duplicates, it reduces the list to 10 records.

What i need to do is remove any instance of those records altogether. Maybe i just missed it or did something wrong.

Thanks for the help though.
 
You could use the vlookup and iserror functions within Excel that will check to see if the item in List 1 is in List 2. If it's not, it'll output the item in list 1. If the item does exist, it outputs nothing.

=IF(ISERROR(VLOOKUP(A1,B:B,1,0)),A1,"")


Excel: VLookup Function
 
1) Paste list B on the end of list A. Lets say this is all in column A and goes from A1 to A14500
2) In B1, put this: =COUNTIF($A1:$A14500,A1)
3) Copy B1, and paste it into all the rest of the B column beside the values in A (so all the way down to B14500)
5) B will now show you how many of the corresponding value in A there are
6) Select the whole lot, sort by column B ascending
7) now the list shows you the stuff you want first (with a '1' in the B column) and the stuff you don't want next (with a '2' in the B column), so just select and delete the stuff you don't want.