Home   >   User Resources   >   Online Help   >   apaNChooseK.All
 

 

Function index Version 3.0.0

apaNChooseK.All(n, k)

Excel=apaNChooseK.All(n, k)

Result

Returns all combinations of k out of n items. The result is a (number of combinations) x n matrix, which can get very large very quickly.

Syntax

n: number of items available

k: number of items selected