Number combinations

helpmeplz

New Member
Joined
Nov 6, 2005
Messages
3
What would the formula be to calculate the number of combinations of six out of 12 total numbers?
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Oh, that was easy. I'm embarrassed! Thanks!

Now the hard part: What calculation can determine what those combinations are?

Thanks a bunch!
 
Upvote 0
Ha, ha. Wow! That is some VBA code! Far over my head. I get a compiler error on thi line:

= True Or BufferPtr = UBound(Buffer()) Then......

I can handle some basic VBA, but I don't have a clue about this one.
 
Upvote 0
Well, I expedited an long planned project. The page, in a not-quite-finished state is
Powerset, Subset, and Combinations & Permutations
http://www.tushar-mehta.com/excel/tips/powerset.html

To use UDFSubset as an XL function, enter the elements of your set (the 12 numbers) in a column. Enter the number of selections you want (6) in some other cell. Then, select COMBIN(12,6) cells in a column and *array enter* =UDFSubset({range with 12 numbers},{cell with # to select},",")
 
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,398
Latest member
rjsteward

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