Comparing lists

paalley

New Member
Joined
Dec 4, 2004
Messages
20
I have a spreadsheet with a master list of products in column A.
In column B I have a partial list. I need to compare Column A and Column B and get a listing of all of the products from the master list that is not listed in column B. Can this be done with conditional formating of with an if statement? I don't know anything about using VBA code. Any help would be appreciated. I just need to compare the partial list to the master list and find out the ones that are not on the partial list.
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".

acw

MrExcel MVP
Joined
Feb 13, 2004
Messages
4,814
Hi

In A1 go Format, Conditional Format, Formula Is, =COUNTIF($B:$B,A1)=0, select your format option, OK.

Copy the cell, then paste the formats to the relevant cells in column A.

It should highlight entries in Column A that are not in column B.


Tony
 

paalley

New Member
Joined
Dec 4, 2004
Messages
20
Comparing Lists

How do you paste the formats to the relevant cells ?
 

acw

MrExcel MVP
Joined
Feb 13, 2004
Messages
4,814
Hi

Once you have put in the conditional format for A1 as above, then select A1, copy.

Highlight the rest of column A starting in A2 for the range you want to paste the formats (say A2:A40), then edit, pastespecial, formats.


Tony
 

Forum statistics

Threads
1,141,924
Messages
5,709,369
Members
421,632
Latest member
BrennieB

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