How many ways can you choose or arrange things? COMBIN counts selections where order doesn’t matter (lottery picks, teams); PERMUT counts arrangements where order does (rankings, PINs); FACT is the factorial behind both.
The example
Choosing/arranging 3 from a pool of 10.
| A | B | |
|---|---|---|
| 1 | Question | Count |
| 2 | Choose 3 of 10 (order no) | 120 |
| 3 | Arrange 3 of 10 (order yes) | 720 |
| 4 | 5 factorial (5!) | 120 |
The formula
Combinations and permutations of 3 from 10:
How it works
The difference is whether order counts:
COMBIN(n, k)— the number of ways to choose k items from n when order doesn’t matter. Picking {A,B,C} is the same as {C,B,A}.PERMUT(n, k)— the number of ways to arrange k items from n when order does matter. ABC and CBA are different.- PERMUT is always larger (it counts every ordering); here 720 vs 120 — exactly 3! (=6) times more.
FACT(n)is n! (the arrangements of all n items) — the building block:COMBIN = FACT(n)/(FACT(k)*FACT(n-k)).
Lottery odds in one formula: the chance of matching a 6-from-49 draw is =1/COMBIN(49, 6) — about 1 in 14 million. COMBIN turns “how many possible tickets” into a probability.
Try it: interactive demo
Choose k from n; compare combinations and permutations.
Variations
Factorial
Arrangements of all n:
Combinations with repetition
Allow repeats:
Lottery probability
Odds of one ticket:
Pitfalls & errors
#NUM! if k > n. You can’t choose more items than exist. Keep k between 0 and n.
Combinations vs permutations. If order matters (rankings, sequences), use PERMUT; if not (groups, selections), use COMBIN. Mixing them up over- or under-counts.
Big numbers overflow. FACT and PERMUT grow astronomically; beyond ~170! Excel returns errors or loses precision.
Practice workbook
Frequently asked questions
How do I calculate combinations in Excel?
What's the difference between COMBIN and PERMUT?
How do I calculate lottery odds in Excel?
Stop fighting formulas. Learn them in a day.
This recipe is one of hundreds of real-world formulas we teach. Our Excel Formulas & Functions class covers lookups, logic, text, and dynamic arrays hands-on — live in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.
See the Formulas & Functions Class