Function · Math
Excel COMBIN function
The Excel COMBIN function counts combinations where order does not matter. COMBIN(10,3) is 120 three-topping pizzas. Fractions are truncated.
Syntax =COMBIN(number, number_chosen)
=COMBIN(10,3)Arguments
| Name | Required | What to pass |
|---|---|---|
| number | Required | How many items are in the pool. 10 toppings, 12 employees, or 69 lottery numbers. A fraction is truncated toward zero. A negative number is #NUM!. Text is #VALUE!. |
| number_chosen | Required | How many items go in one group. Order inside the group does not matter. A fraction is truncated toward zero. A negative number, or a number larger than the pool, is #NUM!. Text is #VALUE!. |
Examples
Three-topping pizzas from 10 toppings on 3/2/2026
=COMBIN(10,3)Result 120
A 5-person committee from 12 employees on 3/6/2026
=COMBIN(12,5)Result 792
One set of lottery picks, 5 from 69 and 1 from 26
=COMBIN(69,5)*26Result 292201338
10.9 toppings and 3.2 chosen are read as 10 and 3
=COMBIN(10.9,3.2)Result 120
| A | B | |
|---|---|---|
| 1 | Input | Value |
| 2 | Date | 3/2/2026 |
| 3 | Toppings | 10 |
| 4 | Chosen | 3 |
| 5 | Combinations | 120 |
COMBIN counts the groups you can make from a pool when the order inside a group does not matter. The arguments are number, the size of the pool, and number_chosen, how many items go in each group. A fraction in either argument is truncated toward zero, the same cut TRUNC makes. The count is the pool factorial divided by the group factorial and by the factorial of whatever is left over. FACT computes those factorials. There is no FACT page on this site.
On 3/2/2026 a shop sells a three-topping pizza for $14.50 and keeps 10 toppings. =COMBIN(10,3) is 120. Pepperoni, mushroom, and olive is the same pizza as olive, mushroom, and pepperoni, so those two orders are one combination. The longhand product is 10 × 9 × 8 / (3 × 2 × 1) = 120. PRODUCT of 10, 9, and 8, divided by PRODUCT of 3, 2, and 1, is the same 120. A menu that listed every combination once, at $14.50, would come to $1,740. Microsoft’s sample is =COMBIN(8,2), which is 28 two-person teams from 8 candidates.
A committee of 5 drawn from 12 employees meets on 3/6/2026. =COMBIN(12,5) is 792. The five people are one committee no matter the seating order. The stipend for one committee is $75. Paying that stipend to every possible committee would be 792 × $75 = $59,400.
A $2 ticket dated 3/4/2026 picks 5 numbers from 69 and then 1 number from 26. Those are the two pools Powerball uses. =COMBIN(69,5) is 11,238,513. =COMBIN(69,5)*26 is 292,201,338. General format shows 292201338. One specific set of picks is 1 in 292,201,338. The $2 is the price of the ticket, not an argument.
Someone who types 10.9 toppings and 3.2 chosen still gets the pizza count. =COMBIN(10.9,3.2) truncates the arguments to 10 and 3 and returns 120. =COMBIN(10.9,3.9) is 120. =COMBIN(5.9,2.1) is 10, the same as COMBIN(5,2).
PERMUT counts arrangements, so the order of the chosen items matters. PERMUT(10,3) is 720 topping orders, and PERMUT(12,5) is 95,040 seating orders for the committee. COMBINA counts combinations that allow the same item more than once. COMBINA(10,3) is the same count as COMBIN(12,3), which is 220. FACT(10) is 3,628,800, FACT(5) is 120, and FACT(3) is 6. None of those three functions has a page here.
A negative pool, a negative group size, or a group larger than the pool is #NUM!. =COMBIN(-1,2), =COMBIN(5,-1), and =COMBIN(3,5) all return #NUM!. Text is #VALUE!. =COMBIN("ten",3) and =COMBIN(10,"three") return #VALUE!.
COMBIN is in every current Excel version, including Microsoft 365, Excel 2024, Excel 2021, Excel 2019, and Excel for the web. Google Sheets has it too.