Returns the number of combinations for the specified number of items.
Syntax Copy Code |
---|
COMBIN( Integer n, Integer k ) → Integer |
A combination is any set or subset of items, regardless of their internal order. Combinations are distinct from permutations, for which the internal order is significant. The number of combinations is n!/k!/(n-k)! where ! denotes factorial.
If n is less than k, or either n or k are negative or zero, the function returns the #NUM! error value.
Formula Copy Code |
---|
=COMBIN(49,6) |
Function Reference
FACT Function
PERMUT Function