What is the COMBIN function?
=COMBIN(number, number_chosen)COMBIN returns the number of combinations: ways to choose items when order does not matter, so A·B and B·A count once.
Both arguments are truncated. A negative value, or choosing more than the total, returns #NUM!.
Arguments
- number
- The total number of items.
- number_chosen
- How many of them to choose.
COMBIN examples
Example 1. 2 of 8 people
=COMBIN(8, 2)An example from Microsoft: 28.
Example 2. A 6-of-45 lottery
=COMBIN(45, 6)8,145,060 combinations.
Example 3. All of them
=COMBIN(5, 5)1.
Common mistakes
Mixing up combinations and permutations
If order matters (seats, rankings) use PERMUT; if not (teams, draws) use COMBIN.
Choosing more than the total
Returns #NUM!.
FAQ
- With repetition?
- Use COMBINA for combinations and PERMUTATIONA for permutations with repetition.
- How do I get a probability?
- Divide the favorable cases by the total (the COMBIN result).