Hi all!
I could really use your help with my Excel file. It consists of rows of purchases, each row containing all the product numbers of 1 shopping basket. It looks something as following:
Pr.1 Pr.2 Pr.3 Pr.4 Pr.5 Pr.6 Pr.7 Pr.8 ---> etc
100 101 102 103 104 105 106 107
104 103 106 107 105
105 101 100 106 103
101 100 103
107 106
105 106
You'll get the idea
But now I want, for each row, to get all combinations consisting of two numbers. Example for the 4th row:
101-100
101-103
100-103.
I have no idea how to create a formula that does this for long rows (my longest consists of 20 purchases, and the file is 1800 shopping baskets long.)
Do you guys have any suggestions on how to go and solve this problem?
Thank you in advance!
I could really use your help with my Excel file. It consists of rows of purchases, each row containing all the product numbers of 1 shopping basket. It looks something as following:
Pr.1 Pr.2 Pr.3 Pr.4 Pr.5 Pr.6 Pr.7 Pr.8 ---> etc
100 101 102 103 104 105 106 107
104 103 106 107 105
105 101 100 106 103
101 100 103
107 106
105 106
You'll get the idea
But now I want, for each row, to get all combinations consisting of two numbers. Example for the 4th row:
101-100
101-103
100-103.
I have no idea how to create a formula that does this for long rows (my longest consists of 20 purchases, and the file is 1800 shopping baskets long.)
Do you guys have any suggestions on how to go and solve this problem?
Thank you in advance!