# Generating different combinations?

#### Brew

##### Well-known Member
How do I get excel to all return all 1000 different combinations of 0-9 as a 3 number sets to appear in the A,B, C columns:
for example:
A1=0,B1=0,C1=0
A2=0,B2=0,C2=1
and so on,
0,0,2
0,0,3
0,0,4
0,0,5
0,0,6
0,0,7
0,0,8
0,0,9
0,1,1
0,1, 2

A column is 0-9, B column is 0-9 and C column is 0-9

### Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!

#### SIXTH SENSE

##### Well-known Member
Brew said:
How do I get excel to all return all 1000 different combinations of 0-9 as a 3 number sets to appear in the A,B, C columns:

A column is 0-9, B column is 0-9 and C column is 0-9

you must be kidding in taking 1000 combinations of 0-9!
there are only 120 combinations for these and 720 Permutations.
try
=COMBIN(10,3)=120
and
=PERMUT(10,3)=720

#### Brew

##### Well-known Member
Thanks.
Now how do I get excel to generate only accept the unique number combinations. 1-2-3 is the same as 3-2-1. The one that is generated first is accepted. The other is rejected. Using the 0-9 digits for cells E,F,G. It should be 220 combinations.

#### Brew

##### Well-known Member
Great thanks fairwinds.
Now how do I take the list in H I J and relist them automatically in L M O cells without blank rows as in row 11.
So that the results are in consecutives rows.

#### Brew

##### Well-known Member
That its. Thanks Fairwinds

Replies
10
Views
263
Replies
7
Views
159
Replies
0
Views
371
Replies
3
Views
78
Replies
1
Views
202

1,187,190
Messages
5,962,123
Members
438,586
Latest member
flickalok

### 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.

### Which adblocker are you using?

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

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