COMBINA returns the number of ways to choose a given number of items from a larger set when repetition is allowed and order does not matter. It is the repetition-friendly version of COMBIN, useful for menu mixes, package builds, and sampling scenarios.
=COMBINA(number, number_chosen)What does COMBINA do?
COMBINA is a Math & trigonometry function that answers a very specific counting question: how many different groups can you make if you pick a certain number of items from a list, you are allowed to pick the same item more than once, and the order of the picks does not matter? For example, if a cafe offers three flavours and you want a two-scoop cup, COMBINA(3,2) returns 6 because you can repeat a flavour but a cup with vanilla then chocolate is the same as chocolate then vanilla.
This matters because many everyday planning and pricing tasks involve repetition. Without COMBINA you would have to list every possibility by hand or build a complicated helper table. With it, you get a single number that tells you how many distinct combinations exist, which is exactly what you need for capacity planning, product bundling, survey design, or explaining probability.
A practical situation: an office manager is creating a snack box where employees choose four items from a list of ten, and items can be chosen more than once. COMBINA(10,4) returns 715, so the manager knows there are 715 unique box configurations to consider when estimating packing costs or designing an order form.
When to use COMBINA
- Counting distinct multi-scoop ice cream or coffee flavour combinations where repeats are allowed.
- Estimating how many unique product bundles can be built from a fixed set of options.
- Designing surveys or taste tests where participants may select the same category more than once.
- Planning seating or grouping scenarios where people or items can be reused across picks.
- Teaching probability and counting principles in maths or business statistics classes.
COMBINA syntax
=COMBINA(number, number_chosen)| Argument | Required? | What to enter |
|---|---|---|
number | Required | The total number of different items available to choose from. Must be zero or a positive whole number. Example: 3 if you have three flavours. |
number_chosen | Required | The number of items you pick each time. Repetition is allowed, so this can be larger than number. Must be zero or a positive whole number. Example: 2 for a two-scoop cup. |
What it returns: COMBINA returns a whole number: the count of unique combinations with repetition. For example, COMBINA(3,2) returns 6.
COMBINA examples
1 Two-scoop ice cream from three flavours
The goal is to count how many different two-scoop cups a shop can offer when customers may choose the same flavour twice. The formula =COMBINA(B2,B3) uses the total flavours in B2 and the scoops per cup in B3. COMBINA treats vanilla-chocolate the same as chocolate-vanilla and allows double vanilla, so it returns 6. That tells the shop there are six distinct cup options to list on the menu.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Item | Value | |||
| 2 | Total flavours | 3 | 6 | ||
| 3 | Scoops per cup | 2 | |||
| 4 |
2 Snack box choices with repeats allowed
An office manager offers ten snack types and lets each employee pick four items, and the same snack can be chosen more than once. The formula =COMBINA(B2,B3) takes the ten snack types from B2 and the four picks from B3. Because order does not matter and repeats are allowed, COMBINA returns 715. The manager can use that number to estimate how many unique box configurations exist before building an order form.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Item | Value | |||
| 2 | Snack types | 10 | 715 | ||
| 3 | Items per box | 4 | |||
| 4 |
3 Coffee flavour combinations for a loyalty card
A cafe has six syrup flavours and a loyalty promotion lets customers add three pumps, with repeats allowed. The formula =COMBINA(B2,B3) uses six flavours in B2 and three pumps in B3. COMBINA counts each distinct flavour mix once, so a caramel-caramel-vanilla card is counted the same as vanilla-caramel-caramel. It returns 56, which the cafe can use to print a checklist of possible flavour mixes.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Item | Value | |||
| 2 | Syrup flavours | 6 | 56 | ||
| 3 | Pumps per drink | 3 | |||
| 4 |
4 Product bundle count for pricing review
A small retailer sells eight product categories and wants to create five-item starter bundles where the same category can appear more than once. The formula =COMBINA(B2,B3) uses eight categories in B2 and five bundle slots in B3. COMBINA returns 792, the number of distinct category mixes possible. The pricing team uses that count to decide whether to limit the bundle builder to a smaller set of options.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Item | Value | |||
| 2 | Product categories | 8 | 792 | ||
| 3 | Slots per bundle | 5 | |||
| 4 |
5 Survey response patterns for a training team
A training team runs a feedback survey with five rating labels and asks each participant to pick two labels, allowing the same label twice. The formula =COMBINA(B2,B3) uses five labels in B2 and two picks in B3. COMBINA returns 15, the number of distinct label pairs possible. The team uses that figure to check that the survey captures enough variety without overwhelming participants.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Item | Value | |||
| 2 | Rating labels | 5 | 15 | ||
| 3 | Labels per response | 2 | |||
| 4 |
Common COMBINA errors and how to fix them
| Error | Why it happens | How to fix it |
|---|---|---|
| #VALUE! | One or both arguments are text or contain non-numeric characters. | Make sure both arguments are numbers or refer to cells that contain numbers. Remove spaces, letters, or currency symbols from the input cells. |
| #NUM! | An argument is negative, or the result is too large for Excel to calculate. | Use zero or positive whole numbers. If the result is extremely large, reduce the inputs or use a different counting method. |
| #NAME? | The function name is misspelled, such as COMBIN A or COMBINAA. | Type =COMBINA( and let Excel suggest the function, or correct the spelling exactly. |
| Wrong result (not an error message) | Using COMBINA when order matters or repetition is not allowed. | Use COMBIN when repetition is not allowed. Use PERMUT or PERMUTATIONA when order matters. |
Tips for using COMBINA
- Remember that COMBINA allows repetition; if repeats are not allowed, use
COMBINinstead. - Both arguments should be whole numbers. Excel truncates decimals, so enter integers to avoid surprises.
- Use cell references rather than typing numbers directly so you can change the scenario without editing the formula.
- COMBINA counts groups, not arrangements. If the order of picks matters, use a permutation function.
- Test small cases by hand first, such as COMBINA(3,2)=6, to confirm you are using the right counting rule.
Frequently asked questions
What is the difference between COMBIN and COMBINA?
COMBIN counts combinations without repetition, so each item can be chosen only once. COMBINA counts combinations with repetition, so the same item can be chosen more than once.
Can number_chosen be larger than number in COMBINA?
Yes. Because repetition is allowed, you can choose more items than there are distinct types. For example, COMBINA(2,3) returns 4.
Does COMBINA care about order?
No. COMBINA counts each unique group once regardless of the order of the picks. If order matters, use PERMUTATIONA.
Why do I get #NUM! with COMBINA?
A negative argument or a result too large for Excel causes #NUM!. Check that both inputs are zero or positive whole numbers and that the result is within Excel's limits.
Related functions
Every example on this page was recalculated by SheetSkill’s spreadsheet engine. COMBINA reference