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

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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