combinatorics

  1. G

    Formula to make combination of elements given possible variables?

    I need a formula to make 2D array of combination of a number of elements given an array of possible variables. Below is the sample input output: ne = 2 x = {a;b;c} out = {a,a; a,b; a,c; b,a; b,b; b,c; c,a; c,b;, c,c} ne is number of elements as integer, x is list of variables as 1d array of any...
  2. G

    Getting a set of random selection from a range

    Hi. Suppose I have a column range of 10 cells. I would like to get 8 of them uniquely and randomly. How do I do that (without macro)? Thanks.
  3. A

    How to combine cells in a simple combination (combinatorics) fashion

    Hi guys! I've looked for a way to do this in several foruns and website and found no clue... Hope someone can help me! :biggrin: Here is a sample of the data I have: <tbody> Student1 Student2 Student3 Student4 Nascimento MS Espindola CF do Prado C Bhansali S Nascimento MS Dhawan V...
  4. B

    Generate all possible combinations from the elements of the matrix

    I have a matrix (14 rows and 5 columns): 1 | 2 | 3 | 4 | 5; --|---|----|---|--; 66| 67| 68 |69 |70. All elements are positive integers. I need to generate all possible combinations from the elements of this matrix. Each combination must contain 14 elements – one from each row. Sample...
  5. K

    Generating all possible combinations per macro

    Dear community, good morning. I am new to this forum and hope you can help me. Here is my problem. Short version: 1. I need VBA to generate all possible combinations following a certain logic 2. Once a new combination is found, this combination needs to be evaluated with a certain function...

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