Find Missing Location VBA

isasa74

New Member
Joined
Aug 6, 2014
Messages
17
Hi Guys,

Once again I would need you help please.

I really need a VBA code to find and identify missing combination between values organized in two columns A:A & B:B.

•Column A is populated with a list (very long, about 50K) of part numbers.
•Column B is populated with 9 location codes: NL10; AU21;CH20;NL20;NO20;NZ20;RO20;SE20;ZA20

Actually all the part numbers in A:A should be repeated nine times as each of them should be present in all the locations, NL10 is compulsory so is always there.
The code should check and find out what are the missing locations for each part number.
I've attached a sample to explain practically what the VBA code should do and how my worksheet is organized.

PLEASE help

[
 

Some videos you may like

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.

Watch MrExcel Video

Forum statistics

Threads
1,122,521
Messages
5,596,645
Members
414,083
Latest member
Mrsash

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