Simple Question

Gamermatt

Board Regular
Joined
May 14, 2009
Messages
185
In Column A, I have a short list of product numbers. In column B, I have a long list of product numbers. I need to export all product numbers that ARE in column A, but NOT in column B, to column C. How would i go about doing this?
Thanks
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.

kieran

Active Member
Joined
Oct 27, 2002
Messages
429
You could use a lookup function on column A against column B.

Ie Vlookup(A1, B$1:PB$300,1,false)

If the answer is #N/A then the corresponding item in column A is not found in B.
 

Gamermatt

Board Regular
Joined
May 14, 2009
Messages
185
You could use a lookup function on column A against column B.

Ie Vlookup(A1, B$1:PB$300,1,false)

If the answer is #N/A then the corresponding item in column A is not found in B.

thanks, that works
 

Forum statistics

Threads
1,176,151
Messages
5,901,637
Members
434,909
Latest member
subratgupta

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