I have a spreadsheet where the classifications of some products are incorrect.
I've re-created a simple example below.
Context:
Column A has a list of Supermarkets that supply products.
Column B has the ID for those products.
Column C has the product description.
Column D has the classification.
In this instance, there are two products with multiple classifications.
In row 5, the classification for the Apple (product ID 1) is 'Vegetable' but it should only be fruit!
In row 7, the classification for the Kale (product ID 3) is 'Fruit' but it should only be Vegetable!
The real data has thousands of rows with instances like this, where an ID has multiple classifications, when each ID should only have ONE classification (and there are about a dozen classifications).
Is there a quick way to identify all the instances in the table where the ID column has MULTIPLE classifications in column D, but also find out what those multiple classifications are?
I've re-created a simple example below.
Context:
Column A has a list of Supermarkets that supply products.
Column B has the ID for those products.
Column C has the product description.
Column D has the classification.
In this instance, there are two products with multiple classifications.
In row 5, the classification for the Apple (product ID 1) is 'Vegetable' but it should only be fruit!
In row 7, the classification for the Kale (product ID 3) is 'Fruit' but it should only be Vegetable!
The real data has thousands of rows with instances like this, where an ID has multiple classifications, when each ID should only have ONE classification (and there are about a dozen classifications).
Is there a quick way to identify all the instances in the table where the ID column has MULTIPLE classifications in column D, but also find out what those multiple classifications are?
Grocery Store | ID | Product | Classification |
Kroger | 1 | Apple | Fruit |
Tesco | 2 | Pear | Fruit |
Boots | 3 | Kale | Vegetable |
Costco | 1 | Apple | Vegetable |
Carrefour | 2 | Pear | Fruit |
Walmart | 3 | Kale | Fruit |