Returns the number of combinations for a given number of items.
Name | Type | Description |
arg1 | number | Is the total number of items. |
arg2 | number | Is the number of items in each combination. |
builder.CreateFile("xlsx"); var oWorksheet = Api.GetActiveSheet(); var oFunction = Api.GetWorksheetFunction(); oWorksheet.GetRange("A1").SetValue(oFunction.COMBIN(67, 7)); builder.SaveFile("xlsx", "COMBIN.xlsx"); builder.CloseFile();