Generating different combinations?

Brew

Well-known Member
Joined
Sep 29, 2003
Messages
1,569
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

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
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
:devilish:
 
Upvote 0
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.
 
Upvote 0
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.
 
Upvote 0

Forum statistics

Threads
1,214,626
Messages
6,120,602
Members
448,974
Latest member
ChristineC

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