COMBIN returns the number of ways to choose a given number of items from a larger set when the order of selection does not matter. It is the standard Excel tool for lottery odds, team selection, and capacity planning.
=COMBIN(number, number_chosen)What does COMBIN do?
COMBIN calculates how many different groups you can form when you pick a certain number of items from a larger pool and the order of the picks is irrelevant. For example, choosing three people from a team of ten gives 120 possible groups, because picking Alice, Ben, and Cara is the same group as picking Cara, Alice, and Ben. The function handles the heavy arithmetic for you and returns a single whole number.
This matters because combination counts grow very quickly and are easy to get wrong by hand. A manager planning shift rotations, a teacher assigning project groups, or a buyer mixing product bundles all need to know how many distinct selections exist before committing resources. COMBIN turns that question into a one-cell answer that updates automatically when the pool size or group size changes.
A common real situation is a small office deciding how many different three-person committees can be formed from a staff of twelve. Instead of listing every possibility, you enter =COMBIN(12,3) and get 220. The same logic applies to lottery odds, quality-control sampling, and menu or package design.
When to use COMBIN
- Counting possible teams or committees from a larger staff list
- Calculating lottery or raffle odds where order does not matter
- Planning shift rotations or meeting schedules with fixed group sizes
- Estimating how many product bundles or menu combinations are possible
- Determining sample sizes for quality checks or audits
- Comparing the number of combinations across different pool sizes
COMBIN syntax
=COMBIN(number, number_chosen)| Argument | Required? | What to enter |
|---|---|---|
number | Required | The total number of items in the pool. Must be a non-negative number and at least as large as number_chosen. Example: 12 for a staff of twelve. |
number_chosen | Required | The number of items you want to pick from the pool. Must be a non-negative number no larger than number. Example: 3 for a three-person committee. |
What it returns: A whole number representing the count of unique combinations. For example, =COMBIN(12,3) returns 220. If the inputs are invalid, COMBIN returns an error such as #NUM! or #VALUE!.
COMBIN examples
1 Basic combination count
This example shows the simplest use: how many pairs can be formed from five items. The formula =COMBIN(B2,C2) reads the pool size from B2 and the group size from C2. It returns 10, meaning there are ten unique two-item pairs. The order of the pair does not matter, so AB and BA count once.
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Pool | Pool Size | Group Size | |||
| 2 | Items | 5 | 2 | 10 | ||
| 3 |
2 Committee selection from staff
An office has twelve employees and needs to form a three-person committee. The formula =COMBIN(B2,C2) uses the staff count in B2 and the committee size in C2. It returns 220, the number of distinct committees possible. This helps the organiser understand the scale of options before scheduling meetings.
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Department | Staff Count | Committee Size | |||
| 2 | Operations | 12 | 3 | 220 | ||
| 3 |
3 Lottery odds check
A lottery player wants to know how many six-number tickets are possible from a pool of forty-nine numbers. The formula =COMBIN(B2,C2) returns 13,983,816. That is the total number of unique six-number combinations. The result shows why winning is unlikely and helps compare different lottery formats.
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Lottery | Pool Size | Picks | |||
| 2 | National | 49 | 6 | 13983816 | ||
| 3 |
4 Product bundle options
A retailer offers a build-your-own bundle where customers pick four items from a range of ten. The formula =COMBIN(B2,C2) returns 210 possible bundles. Marketing uses this number to plan photography and pricing tiers. If the range grows to twelve items, the same formula updates automatically.
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Bundle | Available Items | Items Chosen | |||
| 2 | Starter Box | 10 | 4 | 210 | ||
| 3 |
5 Quality-control sampling
A quality team inspects a batch of twenty units and samples three at random. The formula =COMBIN(B2,C2) returns 1,140 possible samples. This tells the team how many distinct inspection sets exist. It supports audit planning and helps document sampling coverage.
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Batch | Batch Size | Sample Size | |||
| 2 | Line A | 20 | 3 | 1140 | ||
| 3 |
Common COMBIN errors and how to fix them
| Error | Why it happens | How to fix it |
|---|---|---|
| #NUM! | number_chosen is larger than number, or either argument is negative. | Check that the pool size is at least as large as the group size and that both values are zero or greater. |
| #VALUE! | One or both arguments are text instead of numbers. | Remove quotation marks or convert the text to a number. For example, use 12 rather than "12". |
| #NAME? | The function name is misspelled, such as COMBINE or COMBIN( with a missing parenthesis. | Type =COMBIN( and let Excel suggest the function, or correct the spelling. |
| Wrong result (not an error) | Using COMBIN when order matters. COMBIN ignores order, so it undercounts arrangements. | If order matters, use PERMUT instead of COMBIN. |
Tips for using COMBIN
- Use COMBIN when order does not matter; use PERMUT when order does matter.
- Keep pool size and group size in separate cells so the formula updates when plans change.
- COMBIN returns whole numbers, so format the result as a number with zero decimals.
- For very large pools, results can exceed Excel's numeric limit and return #NUM!.
- Combine COMBIN with IF to flag impossible selections, for example
=IF(B2<C2,"Check sizes",COMBIN(B2,C2)). - Use COMBIN to compare scenarios side by side, such as 3-person versus 4-person teams.
Frequently asked questions
What is the difference between COMBIN and PERMUT?
COMBIN counts selections where order does not matter, such as choosing a committee. PERMUT counts arrangements where order matters, such as assigning first, second, and third place.
Does COMBIN allow repetition?
No. COMBIN assumes each item can be chosen only once. For selections with repetition, use a different calculation, such as COMBIN(n+k-1,k).
Why does COMBIN return #NUM!?
The most common reason is that the group size is larger than the pool size, or one argument is negative. Check both values and make sure the pool is at least as large as the group.
Can COMBIN handle decimals?
COMBIN truncates decimal inputs to integers before calculating. For example, =COMBIN(5.9,2) behaves like =COMBIN(5,2).
Related functions
Every example on this page was recalculated by SheetSkill’s spreadsheet engine. COMBIN reference