Difference between revisions of "Documentation/How Tos/Calc: COMBIN function"

From Apache OpenOffice Wiki
Jump to: navigation, search
m
m
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{DISPLAYTITLE:COMBIN function}}
 +
{{Documentation/CalcFunc MathematicalTOC
 +
|ShowPrevNext=block
 +
|PrevPage=Documentation/How_Tos/Calc:_ABS_function
 +
|NextPage=Documentation/How_Tos/Calc:_COMBINA_function
 +
}}__NOTOC__
  
 
== COMBIN ==
 
== COMBIN ==
Line 20: Line 25:
 
: returns <tt>'''3'''</tt>.
 
: returns <tt>'''3'''</tt>.
  
{{Documentation/SeeAlso|
+
{{SeeAlso|EN|
 
* [[Documentation/How_Tos/Calc: COMBINA function|COMBINA]]
 
* [[Documentation/How_Tos/Calc: COMBINA function|COMBINA]]
 
* [[Documentation/How_Tos/Calc: PERMUT function|PERMUT]]
 
* [[Documentation/How_Tos/Calc: PERMUT function|PERMUT]]

Latest revision as of 15:07, 31 January 2024

COMBIN

Returns the number of combinations of a subset of items.

Syntax:

COMBIN(n; k)

n is the number of items in the set.
k is the number of items to choose from the set.
COMBIN returns the number of ways to choose these items. For example if there are 3 items A, B and C in a set, you can choose 2 items in 3 different ways, namely AB, AC and BC.
COMBIN implements the formula:
n!/(k!(n-k)!)

Example:

COMBIN(3,2)

returns 3.



See Also
Retrieved from "https://wiki.openoffice.org/w/index.php?title=Documentation/How_Tos/Calc:_COMBIN_function&oldid=259881"
Views
Personal tools
Navigation
Tools
In other languages