Find Duplicates in column and extract rows

colarguns

New Member
Joined
Jul 2, 2016
Messages
25
Hi,


I have a small file that I can attach, if needed. It is about 400kb in size. I have tried multiple different angles on this work, but just can't seem to get this working correctly. The workbook contains (3) worksheets. One sheet is titled "PRODUCTS" and the others are "INVENTORY SKUS", and "PRICE". The PRODUCTS sheet contains all products offered, and the INVENTORY SKUS sheet contains all SKU's available, that have inventory amounts by sku, and the PRICE sheet contains pricing by SKU. The supplier we use, does not make this easy for us, so we have to FIND the products in their PRODUCTS sheet, that match the SKU's from the Inventory Sku's sheet.

The main objective, is to pull all products that are available from the "Products" sheet, based on the INVENTORY SKU sheet. The reason for this, is because the Inventory SKU sheet has a column titled "Programmed", which tells us that the products marked with "y" in that column are available to advertise. The PRODUCTS sheet is roughly 80,000 rows, and has 101 columns of data.

The supplier's product file is only updated once every two months, and the supplier's inventory is updated daily. For this example, we are only using one category of product (rugs), to provide us with a basis on how we need to approach this. We tried conditional formatting, to find duplicates on these sku's in the product sheet, but due to the file being so large, Excel was not finding all duplicates. We tried using the Power Query, but need more training, as we are new to that add-in.

To be more organized in thought, we would do the following:
1. Go to Inventory sheet, filter the product we wish to sell, and filter the column (programmed) to "Y".
2. Go to the Products Sheet, paste the sku's from the "Inventory Sku's worksheet into column "A", and find duplicate SKU's in column "B" that match the ones we pulled from the Inventory sheet.
3. Extract the products from the Products sheet into the "Final Results" worksheet, that matched the SKU's we pulled from the Inventory sheet.
4. Then we need to associate a price for each product, which is going to be the price sheet. Here we have to find the duplicate sku's once again
5. Then apply the pricing (MAP and MSRP) columns, to the Final Results worksheet.

Hopefully this all made sense. On the actual product xls file we receive, they have about 15 worksheets in one workbook, that have different product categories. So for this example, we are only using rugs.

Thank you!​
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Cross-posted here: https://www.excelguru.ca/forums/sho...all-rows-with-duplicate-sku&p=37570#post37570

While we do not prohibit Cross-Posting on this site, we do ask that you please mention you are doing so and provide links in each of the threads pointing to the other thread (see rule 13 here along with the explanation: Forum Rules). This way, other members can see what has already been done in regards to a question, and do not waste time working on a question that may already be answered.
 
Upvote 0

Forum statistics

Threads
1,223,897
Messages
6,175,270
Members
452,628
Latest member
dd2

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
Back
Top