COMBIN Function (OpenOffice Calc)
Learn the COMBIN function in Apache OpenOffice Calc: Calculates the number of combinations for elements without repetition.
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
Availability and version history
- Introduced: Documented by Apache OpenOffice 4.1.16; original introduction not established.
- Availability: Supported in Apache OpenOffice 4.1.16, verified against its function registry. This identifies a supported release, not a final working version.
- Scope: Desktop Calc, using the English function name. Availability in other spreadsheet applications is separate.
- Checked: 2026-10-14 — function reference; versioned support. Documentation/source check; not a new native test. Existing example-specific test claims below retain their stated scope.
COMBIN counts selections of distinct items when order does not matter and an item cannot be selected twice. A committee containing A and B is the same selection as B and A. If positions or selection order matter, a permutation calculation answers a different question.
Syntax and arguments
=COMBIN(n; k)
Both arguments are required. n is the number of available items and k is the number selected. Use integers with 0<=k<=n. The pinned 4.1.16 interpreter applies approximate downward rounding to both numeric arguments before checking those inequalities; it does not round fractional counts to the nearest integer. Formulas here use English function names and semicolon argument separators.
Reproducible examples
| Formula | Expected result |
|---|---|
=COMBIN(5;2) |
10 |
=COMBIN(3;2) |
3 |
=COMBIN(5;0) |
1 |
=COMBIN(5;5) |
1 |
=COMBIN(0;0) |
1 |
=COMBIN(5.9;2.9) |
10 |
The first formula preserves the original worked example. Its older comparable LibreOffice 25.2 check was not execution in OpenOffice. These new results are independently calculated expectations; no fresh native or GUI test is claimed.
Practical worksheet: count possible review panels
Enter 5 in A2, 6 in A3 and 8 in A4: these are the numbers of eligible reviewers. Enter 2 in B2:B4 for two-person panels. In C2 enter =COMBIN(A2;B2) and fill down. The expected counts are 10, 15 and 28.
For the five-person pool A, B, C, D and E, the ten panels are AB, AC, AD, AE, BC, BD, BE, CD, CE and DE. Listing this small case independently checks that neither reversed pairs nor repeated members were counted. The formula counts possibilities; it does not construct panels or apply eligibility restrictions between particular people.
Advanced applications
Compare selection rules. For five items and two selections, =COMBIN(5;2) gives 10, =COMBINA(5;2) gives 15 when repetition is allowed, and =5*4 gives 20 when first and second positions are distinct. Decide which model represents the actual task before choosing a function.
Check complement symmetry. =COMBIN(8;2) and =COMBIN(8;6) both return 28: selecting two items to include is equivalent to selecting six to exclude. This is a useful independent check for a small model.
Explain the formula. For valid integers, the count is n!/(k!*(n-k)!). With n=5 and k=2, =FACT(5)/(FACT(2)*FACT(3)) returns 10. Prefer COMBIN in the workbook because separate factorials overflow much earlier than many useful combination counts.
Errors, edge cases and troubleshooting
A negative effective count or k greater than n is invalid, not a zero-probability result. For example, =COMBIN(3;4) has no accepted input domain in the inspected implementation. A fractional count can be accepted after truncation, but that does not validate a fractional number of people; enforce whole counts in the input sheet.
Zero selections give one empty selection, including COMBIN(0;0). That convention is useful in combinatorial identities and should not be replaced with zero just because no physical items are chosen. Large results use floating-point arithmetic and may lose exact integer precision or overflow. Use small exact counts to audit a model, and do not promise arbitrary-size exact arithmetic.
Related functions
Documentation and verification
See the Apache OpenOffice COMBIN reference, versioned mathematical-function help, and 4.1.16 implementation. The saved official source snapshots were re-read for this guide; their original retrieval records remain in the evidence package. Source inspection and independent arithmetic are not application execution. The lifecycle section identifies a supported release; the original introduction and final functioning release remain unestablished.