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

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.

Forum statistics

Threads
1,226,695
Messages
6,192,475
Members
453,726
Latest member
JoeH57

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