Hello,
My data contains three columns:
'Product 1', 'Product 2' and 'Quantity' - Quantity represents the number of times 'Product 1' and 'Product 2' were purchased together:
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]Product 1[/TD]
[TD]Product 2[/TD]
[TD]Quantity[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]30[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]B[/TD]
[TD]A[/TD]
[TD]30[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]C[/TD]
[TD]A[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]D[/TD]
[TD]C[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]E[/TD]
[TD]D[/TD]
[TD]17[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]F[/TD]
[TD]A[/TD]
[TD]11[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]A[/TD]
[TD]C[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]G[/TD]
[TD]D[/TD]
[TD]17[/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD]E[/TD]
[TD]A[/TD]
[TD]10[/TD]
[/TR]
</tbody>[/TABLE]
In the above, rows 2 and 3 are the same combination of products with the same quantity. I would like to remove one of these duplicates and keep just one in the list.
NB: the duplicate combinations are not necessarily next to each other, as shown by rows 4 and 8.
Any help?
My data contains three columns:
'Product 1', 'Product 2' and 'Quantity' - Quantity represents the number of times 'Product 1' and 'Product 2' were purchased together:
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]Product 1[/TD]
[TD]Product 2[/TD]
[TD]Quantity[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]30[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]B[/TD]
[TD]A[/TD]
[TD]30[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]C[/TD]
[TD]A[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]D[/TD]
[TD]C[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]E[/TD]
[TD]D[/TD]
[TD]17[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]F[/TD]
[TD]A[/TD]
[TD]11[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]A[/TD]
[TD]C[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]G[/TD]
[TD]D[/TD]
[TD]17[/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD]E[/TD]
[TD]A[/TD]
[TD]10[/TD]
[/TR]
</tbody>[/TABLE]
In the above, rows 2 and 3 are the same combination of products with the same quantity. I would like to remove one of these duplicates and keep just one in the list.
NB: the duplicate combinations are not necessarily next to each other, as shown by rows 4 and 8.
Any help?