Combin - 指令碼與圖表函數

Combin() 傳回可以從一組 p 個項目中挑選 q 個元素的組合數目。As represented by the formula:Combin(p,q) = p! / q!(p-q)! The order in which the items are selected is insignificant.

Syntax:  

Combin(p, q)

Return data type: 整數

Limitations:  

非整數項目會被截斷。

Examples and results:  

範例 結果

從總共 35 個樂透數字中挑選 7 個數字的可能組合有幾個?

Combin( 35,7 )

傳回 6,724,520