Skip to main content

Number.Combinations

Returns the number of unique combinations.

Syntax​

Number.Combinations(
setSize as number,
combinationSize as number
) as number

Remarks​

Returns the number of unique combinations from a list of items, setSize with specified combination size, combinationSize.

  • setSize: The number of items in the list.
  • combinationSize: The number of items in each combination.

Examples​

Example #1​

Find the number of combinations from a total of 5 items when each combination is a group of 3.

Number.Combinations(5, 3)

Result:

10

Category​

Number.Operations