COMBIN function
Returns the number of ways to choose a group of items from a larger set when order does not matter.
Available in All versions of Excel, Excel for the web, Excel for Mac
In every Excel versionWorks in Google Sheets
Syntax
COMBIN(number, number_chosen)| Argument | What it means | |
|---|---|---|
number | Required | Total number of items available (n). |
number_chosen | Required | How many are picked (k). Must be between 0 and n. |
Returns: n! / (k! × (n − k)!), a whole number.
How COMBIN works
COMBIN counts selections where order is irrelevant and nothing is picked twice: a committee of 3 from 10 staff, 6 lottery numbers out of 49, two teams for each match in a round-robin. =COMBIN(10, 3) returns 120 because there are 120 different trios you could form.
If order matters (first, second, third place) use PERMUT instead, and if the same item may be picked more than once use COMBINA. Decimal arguments are truncated. Negative values or number_chosen larger than number return #NUM!. In probability, 1/COMBIN(...) gives the chance of one specific selection.
Examples
1Odds of winning a 6/49 lottery
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Game | Numbers | Picked | |
| 2 | Lotto | 49 | 6 | 13,983,816 |
Result: 13,983,816
There are 13,983,816 possible tickets, so one ticket has a 1 in almost 14 million chance.
2Possible project committees
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Team | Staff | Committee size | |
| 2 | Finance | 10 | 3 | 120 |
Result: 120
120 different 3-person committees can be formed from 10 staff.
3Matches in a round-robin league
| A | B | C | |
|---|---|---|---|
| 1 | League | Teams | |
| 2 | Five-a-side | 12 | 66 |
Result: 66
Every team plays every other team once: 12 × 11 / 2 = 66 matches.
Common errors and how to fix them
| Error | Why it happens | Fix |
|---|---|---|
#NUM! | A negative value or number_chosen larger than number. | Check the inputs. |
Tips
- Probability that a random 3-person group contains two specific people:
=COMBIN(8,1)/COMBIN(10,3). - COMBIN(n, k) = COMBIN(n, n − k).
Google Sheets
COMBIN also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.
COMBIN in other languages
In a non-English version of Excel the function has a local name. Excel translates formulas automatically when a file is opened in another language.
| Language | Function name |
|---|---|
| Czech | KOMBINACE |
| Danish | KOMBIN |
| Dutch | COMBINATIES |
| Finnish | KOMBINAATIO |
| German | KOMBINATIONEN |
| Hungarian | KOMBINÁCIÓK |
| Italian | COMBINAZIONE |
| Norwegian (Bokmål) | KOMBINASJON |
| Polish | KOMBINACJE |
| Russian | ЧИСЛКОМБ |
| Spanish | COMBINAT |
| Swedish | KOMBIN |
| Turkish | KOMBİNASYON |