NotesMatching
Matching products that have no shared UPC
When two item lists share a UPC, matching is a lookup. When they do not, someone has to decide whether two differently worded lines are the same product. This is how to make that decision in a way that holds up later.
Why the UPC is missing, or wrong
A blank UPC field is the obvious case. The others do more damage, because they look like data.
- Never recorded. Items set up by hand or from a price sheet often have no barcode on file.
- A different packaging level. One list holds the code for the each and the other holds the code for the case. Both are right, and they will never be equal.
- Out of date. The product was repackaged or its code changed, and one system still holds the old value.
- Damaged. A spreadsheet dropped the leading zero or stored the code in scientific notation.
- A placeholder. Zeros, or one dummy code used for many items.
Two rules follow. A matching UPC is strong evidence, but only once it passes a length and check-digit test and both codes are for the same packaging level. And two different UPCs do not prove two different products. Treat the disagreement as something to explain, not as a verdict.
What to match on instead
Work down from the strongest evidence to the weakest.
Manufacturer and manufacturer part number
Together these are close to a UPC in strength, with conditions. A part number only means something within one manufacturer, so compare the two as a pair. Normalize the formatting first: upper and lower case, spaces, dashes. Be suspicious of part numbers that are very short, that equal the record’s own item number, or that are really a distributor’s stock number.
Vendor item code
If both companies buy the item from the same vendor, the vendor’s item code is a good join. Check that it is the same vendor and the same packaging.
Attributes
Brand, unit size, pack quantity, selling unit of measure, and the specifications that matter for the category. This is where matches with no identifier are made.
Description
Use description text to find candidates. Do not use it to decide. Two descriptions can be far apart for the same product and nearly identical for different ones, which is the subject of Why fuzzy matching alone fails on item data.
The tests a pair has to pass
For two records with no shared identifier, a workable rule is that they are the same item when all of these agree and none conflicts.
- Brand. The same brand or manufacturer, after allowing for spelling.
- Unit size. Compared in the same unit. 1 qt and 32 fl oz are equal. 32 oz by weight is not 32 fl oz by volume.
- Pack quantity. Compared as numbers, wherever each list keeps them: 6/CS inside a description against a 6 in a pack column.
- Selling unit of measure. An item sold by the case is not the same sellable item as one sold by the each.
- The specifications that define the product in its category. For a can liner, the dimensions, thickness and color. For a glove, the material, the size, and powdered or powder-free. For a disinfectant, the active ingredient, and whether it is a concentrate or ready to use.
- Description. Consistent with the rest once abbreviations are expanded.
Each field has three possible outcomes, not two: it agrees, it conflicts, or it is unknown. A blank is not agreement. If a field that matters is unknown on either side, the pair goes to a person, or back to the source for more information.
Keep the answers separate
Many of the expensive mistakes come from forcing every pair into match or no match. There are more answers than that.
- The same item. The two records can be merged.
- The same product in a different pack or case size. Related, but not the same sellable item. Merging them breaks stock counts and prices.
- An equivalent product from another brand. Useful to know for substitution. Never a merge.
- Not the same.
- Cannot tell from the records. This is a legitimate answer, and it should be recorded as one.
When the records are not enough
Some pairs cannot be settled from two lines in two systems. In rough order of effort, the places to look are the manufacturer’s specification sheet or catalog page, the vendor’s price sheet or past invoices, which show what was actually bought, and the product itself. For items that are expensive or held in quantity, a look at the shelf or a photo from the warehouse is cheap next to a wrong merge.
Write down why
For every decision, keep the two item numbers, the answer, the fields that agreed, and who decided. That makes the result auditable, lets a second person review a sample, and makes a wrong merge possible to find and undo.
Lean toward caution. A missed match leaves a duplicate that can be merged later. A wrong merge combines the stock, prices and history of two different products, and it is much harder to take apart.
Where software fits
The method above is slow by hand because every pair means reading two records and checking five or six facts. Crosswalk, which we are building, is meant to do that reading: it proposes each pair, shows the fields that agree and conflict, keeps the different answers apart, and leaves the unsure pairs to a person. It is in development, with early access opening in Q1 2027. There is a worked example of the approach.