ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Net data from a comparison of 2 lists (https://www.excelbanter.com/excel-discussion-misc-queries/123472-net-data-comparison-2-lists.html)

Clubber

Net data from a comparison of 2 lists
 
I need to compare a master list with a smaller list and remove the matches
from the master so that I am left with a single list that reflects only the
data that is not in the smaller list.

For example:

Master
a
b
c
d

Sublist
a
d

Net list After comparison
b
c


Teethless mama

Net data from a comparison of 2 lists
 
Assuming Master list in column A, and Sublist in column B
Create a helper column C

C2 =COUNTIF($B$2:$B$3,A2)
Adjust your range to suit
Copy down as far as needed
AutoFilter all the 1, then select the visible range, EditDelete



"Clubber" wrote:

I need to compare a master list with a smaller list and remove the matches
from the master so that I am left with a single list that reflects only the
data that is not in the smaller list.

For example:

Master
a
b
c
d

Sublist
a
d

Net list After comparison
b
c


Clubber

Net data from a comparison of 2 lists
 
Thanks, perfect!

"Teethless mama" wrote:

Assuming Master list in column A, and Sublist in column B
Create a helper column C

C2 =COUNTIF($B$2:$B$3,A2)
Adjust your range to suit
Copy down as far as needed
AutoFilter all the 1, then select the visible range, EditDelete



"Clubber" wrote:

I need to compare a master list with a smaller list and remove the matches
from the master so that I am left with a single list that reflects only the
data that is not in the smaller list.

For example:

Master
a
b
c
d

Sublist
a
d

Net list After comparison
b
c



All times are GMT +1. The time now is 12:59 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com