Excel-Generating All Possible COMBINATIONS

ChallengerRT12

New Member
Joined
Oct 29, 2014
Messages
1
I found a forum about generating all possible permutations using a formula. I started using it then realized I needed combinations because the order doesn't matter and I don't want an excess amount of combinations. Here is a link to that permutations post if you were concerned:
http://www.mrexcel.com/forum/excel-...ble-combinations-two-lists-without-macro.html

So I need a new formula or way to filter out those rows that have the same values just in different orders. I need 9 columns with the amount to be chosen from each as follows:
A:4
B:4
C:4
D:7
E:7
F:7
G:4
H:3
I:4

Another note- can't have duplications between columns B&C or D through F.
This is a good combo: 0 (1 0) (0 1 2) 0 0 0
This is a bad combo: 0 (0 1) 7 6 5 0 0 0
This is a bad combo: 0 4 3 (2 0 1) 0 0 0
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.

Forum statistics

Threads
1,215,461
Messages
6,124,954
Members
449,198
Latest member
MhammadishaqKhan

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top