Hi Everyone,
I've received a TON of useful knowledge on this site over the past year, so THANK YOU to everyone who contributes. I finally joined because I have quite the puzzle to solve.
I am working on a spreadsheet with roughly 48k rows, each representing a unique product. Our system is setup such that Products Numbers are unique, and are what we sell. Products are nested under PARTS in our system, which are what we buy. Then we have VendorPartNumber which is the number used by our vendor when we purchase said part. So we have Part, Product, and Vendor Part Numbers in our system.
Now, major mistake number one that was made was not using our own part numbering system from the start. We have part and product numbers that were assigned using manufacturer's OEM numbers - some of which are very basic 4 digit numerical part numbers - so very high chances for duplicates from other OEMs (plus leading zeroes and a slew of other bad things). Second big mistake is creating multiple part numbers for the same part - which is what I'm trying to fix right now. Eventually I'm going to get this company switched over to using their own proprietary part number system - this is a mess.
So here's what I need. I have exported roughly 26k parts from 1 vendor. Each product gets its own row in the csv, which means the part number and vendor number columns repeat for each product under those parts. You can see below that vendor number S-B610 is setup correctly below. Each instance of that vendor number is under part number 00701. The last two rows show the problem, S-7419 is assigned to two different part numbers. Those two products and vendor numbers should be under 1 part, not two. There are thousands like this. What's the best way to identify that VendorPartNumber is tied to only 1 unique PartNumber?
<colgroup span="2" width="270"></colgroup> <colgroup width="316"></colgroup> <tbody>
[TD="align: left"]PartNumber[/TD]
[TD="align: left"]ProductNumber[/TD]
[TD="align: left"]VendorPartNumber[/TD]
[TD="align: left"]41300[/TD]
[TD="align: left"]41300[/TD]
[TD="align: left"]S-8444[/TD]
[TD="align: left"]0000704[/TD]
[TD="align: left"]0000704[/TD]
[TD="align: left"]S-8641[/TD]
[TD="align: left"]00701[/TD]
[TD="align: left"]00701[/TD]
[TD="align: left"]S-B610[/TD]
[TD="align: left"]00701[/TD]
[TD="align: left"]29428X[/TD]
[TD="align: left"]S-B610[/TD]
[TD="align: left"]00701[/TD]
[TD="align: left"]10089 Neapco[/TD]
[TD="align: left"]S-B610[/TD]
[TD="align: left"]00701[/TD]
[TD="align: left"]A490K[/TD]
[TD="align: left"]S-B610[/TD]
[TD="align: left"]00701[/TD]
[TD="align: left"]KT116[/TD]
[TD="align: left"]S-B610[/TD]
[TD="align: left"]82408[/TD]
[TD="align: left"]82408[/TD]
[TD="align: left"]S-D817[/TD]
[TD="align: left"]110243[/TD]
[TD="align: left"]110243[/TD]
[TD="align: left"]S-7931[/TD]
[TD="align: left"]Blind Ship[/TD]
[TD="align: left"]Blind Ship[/TD]
[TD="align: left"]S-18124[/TD]
[TD="align: left"]FUL16758[/TD]
[TD="align: left"]FUL16758[/TD]
[TD="align: left"]S-7419[/TD]
[TD="align: left"]K-1650[/TD]
[TD="align: left"]K-1650[/TD]
[TD="align: left"]S-7419[/TD]
</tbody>
I've received a TON of useful knowledge on this site over the past year, so THANK YOU to everyone who contributes. I finally joined because I have quite the puzzle to solve.
I am working on a spreadsheet with roughly 48k rows, each representing a unique product. Our system is setup such that Products Numbers are unique, and are what we sell. Products are nested under PARTS in our system, which are what we buy. Then we have VendorPartNumber which is the number used by our vendor when we purchase said part. So we have Part, Product, and Vendor Part Numbers in our system.
Now, major mistake number one that was made was not using our own part numbering system from the start. We have part and product numbers that were assigned using manufacturer's OEM numbers - some of which are very basic 4 digit numerical part numbers - so very high chances for duplicates from other OEMs (plus leading zeroes and a slew of other bad things). Second big mistake is creating multiple part numbers for the same part - which is what I'm trying to fix right now. Eventually I'm going to get this company switched over to using their own proprietary part number system - this is a mess.
So here's what I need. I have exported roughly 26k parts from 1 vendor. Each product gets its own row in the csv, which means the part number and vendor number columns repeat for each product under those parts. You can see below that vendor number S-B610 is setup correctly below. Each instance of that vendor number is under part number 00701. The last two rows show the problem, S-7419 is assigned to two different part numbers. Those two products and vendor numbers should be under 1 part, not two. There are thousands like this. What's the best way to identify that VendorPartNumber is tied to only 1 unique PartNumber?
<colgroup span="2" width="270"></colgroup> <colgroup width="316"></colgroup> <tbody>
[TD="align: left"]PartNumber[/TD]
[TD="align: left"]ProductNumber[/TD]
[TD="align: left"]VendorPartNumber[/TD]
[TD="align: left"]41300[/TD]
[TD="align: left"]41300[/TD]
[TD="align: left"]S-8444[/TD]
[TD="align: left"]0000704[/TD]
[TD="align: left"]0000704[/TD]
[TD="align: left"]S-8641[/TD]
[TD="align: left"]00701[/TD]
[TD="align: left"]00701[/TD]
[TD="align: left"]S-B610[/TD]
[TD="align: left"]00701[/TD]
[TD="align: left"]29428X[/TD]
[TD="align: left"]S-B610[/TD]
[TD="align: left"]00701[/TD]
[TD="align: left"]10089 Neapco[/TD]
[TD="align: left"]S-B610[/TD]
[TD="align: left"]00701[/TD]
[TD="align: left"]A490K[/TD]
[TD="align: left"]S-B610[/TD]
[TD="align: left"]00701[/TD]
[TD="align: left"]KT116[/TD]
[TD="align: left"]S-B610[/TD]
[TD="align: left"]82408[/TD]
[TD="align: left"]82408[/TD]
[TD="align: left"]S-D817[/TD]
[TD="align: left"]110243[/TD]
[TD="align: left"]110243[/TD]
[TD="align: left"]S-7931[/TD]
[TD="align: left"]Blind Ship[/TD]
[TD="align: left"]Blind Ship[/TD]
[TD="align: left"]S-18124[/TD]
[TD="align: left"]FUL16758[/TD]
[TD="align: left"]FUL16758[/TD]
[TD="align: left"]S-7419[/TD]
[TD="align: left"]K-1650[/TD]
[TD="align: left"]K-1650[/TD]
[TD="align: left"]S-7419[/TD]
</tbody>