Contact

COMBINA in Zoho Sheet: Selections When Repeats Are Allowed

Mathematical Intermediate Zoho Sheet

Use Zoho Sheet COMBINA to count unordered selections with repeats, from flavour mixes to order quantities, with verified arithmetic examples.

Verification status: See the evidence and test scope described in this guide. How formula examples are checked

Quick answer: =COMBINA(6;2) mathematically gives 21 unordered two-item selections from six types when repeats are allowed. You can choose vanilla twice, for example, and vanilla–chocolate is the same selection as chocolate–vanilla. COMBINA counts multisets, not the order of picking items. It differs from COMBIN, where each distinct item may be used at most once.

This distinction matters in real situations: selecting two distinct staff members for a committee is COMBIN; selecting two scoops of ice cream from six available flavours with repeated flavours allowed is COMBINA. If flavour order or cup position matters, neither of these unordered-selection formulas is the appropriate counting model.

Availability and version history

  • Introduced: The original introduction version and date are not established by the checked sources.
  • Availability: Currently documented in Zoho Sheet’s rolling web-service help; no numbered release or retirement endpoint is established.
  • Scope: English-language web-service documentation. Mobile and offline-client parity is outside the verified scope.
  • Checked: October 14, 2026, against the official COMBINA reference. Documentation check; not a new native test.

Official Zoho formula and arguments

=COMBINA(n; k)
Argument Required? Meaning
n Yes Number of different available types. Example: six ice-cream flavours.
k Yes Number selected in total, allowing repeated types. Example: two scoops.

In Zoho’s COMBINA documentation, the published examples include =COMBINA(11;2) → 66, =COMBINA(24;6) → 475020, and =COMBINA(12;12) → 1352078. This article describes n as greater than k while using the equal case, and lists k > n as #NUM! even though the usual mathematical multiset formula does not require k ≤ n. That is an important Zoho-documentation limitation: DO NOT treat COMBINA(3;5) as a confirmed supported result until it is run in the actual product. The practice examples below deliberately keep k ≤ n.

For valid positive whole-number counts, the standard combinatorial expression is (n+k−1)! / (k! × (n−1)!). Therefore COMBINA(6;2) is mathematically 7!/(2!5!) = 21. This identity is an independent mathematical justification, not an assertion about Zoho’s handling of undocumented edge cases. Always distinguish a repeatable type from a distinct physical object; six distinct books cannot ordinarily be selected twice from one physical inventory.

Try COMBINA with a reusable dataset

Enter the table below with column B containing the number of available types and C containing the number selected. Put =COMBINA(B2;C2) in H2; fill it through H9. The G column is reserved for COMBIN, allowing immediate side-by-side comparison. Expected numbers below were generated independently with exact integer factorial arithmetic; no native Zoho tests were performed.

Row B: types C: selections Formula Expected unordered repeatable selections
2 8 3 =COMBINA(B2;C2) 120
3 6 2 =COMBINA(B3;C3) 21
4 10 4 =COMBINA(B4;C4) 715
5 5 3 =COMBINA(B5;C5) 35
6 12 2 =COMBINA(B6;C6) 78
7 9 5 =COMBINA(B7;C7) 1287
8 7 2 =COMBINA(B8;C8) 28
9 11 6 =COMBINA(B9;C9) 8008

Step 1: Enter the table with headers in row 1. Step 2: Set H2 to =COMBINA(B2;C2) and confirm the independent expected value 120 before filling down. Step 3: Compare G2 (COMBIN) with H2 (COMBINA): 56 versus 120 shows the effect of permitting repeats. Step 4: In H3, six flavours and two scoops produce 21 possible flavour mixes, including all six same-flavour pairs. Step 5: Check the underlying data if your displayed numbers differ; type coercion and locale delimiters should be tested in your version of Zoho Sheet.

Advanced application: variety packs that can repeat product types

A shop offers five different sachet flavours and sells three-sachet mix packs. Customers choose the flavours, but the packing order is irrelevant. Enter 5 in B5 and 3 in C5. The expected number of distinct pack flavour compositions is =COMBINA(B5;C5) → 35. This figure includes packs such as apple–apple–apple, apple–apple–berry, and apple–berry–citrus. In contrast =COMBIN(5;3) → 10 counts only packs made of three different flavours. This gives the merchandising team a quantitative reason to decide whether repeat flavours will be offered.

To calculate the number of choices that contain three distinct flavours, use COMBIN as above: 10. Thus 35−10 = 25 mixes contain at least one repeated flavour; =COMBINA(B5;C5)-COMBIN(B5;C5) is the formula, with an independently verified expected result of 25. This comparison is especially helpful in designing configurable bundles: you can estimate product variation counts and decide whether to limit choices to keep inventory listings manageable. The count is not a measure of expected sales or a guarantee that every combination is in stock.

Another useful application is building two-day meal menus from a list of six dish types when meals may repeat and only the unordered assortment matters. The mathematical count is COMBINA(6;2)=21. If Monday versus Tuesday meals matter, however, there are 6×6=36 ordered schedules. Using 21 in that case would undercount the plans. Make the order assumption explicit in the worksheet title or a comment.

Comparison: select without repeats, with repeats or in order

Rule Illustration with 6 types and 2 picks Mathematical expected count
No repeats; order irrelevant =COMBIN(6;2) 15
Repeats allowed; order irrelevant =COMBINA(6;2) 21
No repeats; order matters =PERMUT(6;2) 30
Repeats allowed; order matters =POWER(6;2) 36

The POWER formula counts independent ordered slots, not physical inventory. In some activities, repetitions are technically allowed but limited by stock, so the simple COMBINA model is insufficient. Model the stock constraints separately if each flavour has a maximum quantity.

Error handling, documentation contradictions and limitations

Issue What to verify
#NUM! Zoho says negative inputs and k>n can trigger this. Its own descriptions conflict with unrestricted multiset mathematics; avoid k>n until native testing resolves it.
#VALUE! Confirm B/C are numeric, not text labels or mixed imported values.
#NAME! Check the function name and the accepted argument separator in your Zoho environment.
#REF! Restore an invalid or deleted reference.
Selections seem too numerous Maybe repeats were not actually permitted. Switch to COMBIN if each specific option can appear only once.
Selections seem too few Maybe sequence matters; consider POWER for ordered repeatable slots or PERMUT for ordered non-repeating slots.
A fractional or blank argument Zoho does not specify all coercion/truncation behaviours. Require whole-number counts before use.
Large output Combinatorial growth can exceed exact spreadsheet numeric precision. Count with external integer arithmetic if audit-grade exactness is required.

Excel and platform compatibility: what is documented

Microsoft’s Excel COMBINA guide documents COMBINA(number, number_chosen) and its own input constraints, including truncating fractional numeric arguments. Zoho’s semicolon syntax, inconsistent n>k description and k>n error table cannot be silently replaced by the Microsoft behaviour. Although both vendors have a same-named function, input coercion, maximum values and platform rollout may differ. Zoho’s published reference inspected on 2026-10-11 does not identify a first-supported cloud, mobile or desktop release, so availability across older versions and accounts is unverified.

Validation status: All shown numerical results were independently calculated with Python integer factorial/combination arithmetic. Zero formulas were executed in a live Zoho Sheet. Edge cases like COMBINA(3;5), COMBINA(0;0) and decimals are marked NATIVE_TEST_REQUIRED.