PERMUT

The PERMUT function returns the number of permutations without repetition for a set of elements selected in blocks of a certain size.

Syntax

PERMUT(
    number,
    number_chosen
)

Parameters
  • number: Total number of elements.
  • number_chosen: Number of elements to consider in each permutation.
Returned value

The PERMUT function returns an integer.

Additional Information

The formula used to calculate the number of permutations is:

If either of the two arguments are not integers, they are truncated.

If either of the two arguments are not numbers, the function returns an error of type #VALUE!.

If number <= 0 or number_chosen <0, PERMUT returns a #NUM! error.

If number_chosen < number, PERMUT returns a #NUM! error.

Examples

If we have a set of 4 elements (A, B, C and D) and we wanted to group them two by two, the possible permutations would be the following:

  1. AB
  2. AC
  3. AD
  4. BA
  5. BC
  6. BD
  7. CA
  8. CB
  9. CD
  10. DA
  11. DB
  12. DC

...for a total of 12 possibilities. This number would be calculable using the PERMUT function with the following measure:

Num. permutaciones = PERMUT(4, 2)

PERMUT function. Example of use
Category
Statistical
Submitted by admin on Mon, 01/14/2019 - 20:18