Category: FUNCTION | Updated: 2026-11-22

[COMBIN Function] How to Calculate the Number of Combinations

Syntax

=COMBIN(n, k)
  • n: The total number of items, specified as an integer greater than or equal to 0.
  • k: The number of items to choose, specified as an integer between 0 and n.

Example Table

Examples of calculating total combinations, such as selecting committee members or lottery outcomes.

Scenario Total (Col A) Choose (Col B) Formula Output Explanation
Choose 2 members from 5 5 2 =COMBIN(A2, B2) 10 ₅C₂ = (5×4)/(2×1)
Games in a 10-team round-robin 10 2 =COMBIN(A3, B3) 45 ₁₀C₂ = 45 games
Choose 6 numbers from 43 43 6 =COMBIN(A4, B4) 6096454 Total Loto 6 combinations

Common Errors and Caveats

  • #NUM! error: Occurs if k is greater than n (e.g., =COMBIN(3, 5)), or if either argument is negative.
  • Truncation of decimals: If you pass decimal numbers as arguments, their decimal parts are truncated and they are treated as integers.

Frequently Asked Questions

Q. What is the difference between the COMBIN and PERMUT functions?

A. COMBIN calculates combinations where order does not matter (nCr), whereas PERMUT calculates permutations where order matters (nPr). For example, choosing A and B counts as 1 combination in COMBIN, but 2 permutations (AB and BA) in PERMUT.

Q. Which function should I use to calculate combinations with repetition allowed?

A. To calculate combinations that allow selecting the same item multiple times (combinations with repetition), use the COMBINA function instead of COMBIN.