The PERMUT function in Excel is a powerful tool used to compute the number of ways to arrange a specific number of items. This function is especially useful in statistical analyses, combinations, and permutations, providing clear insights into the different arrangements possible from a set of distinct items.
Syntax
PERMUT(number, number_chosen)
- number: Represents the total number of objects from which you want to choose.
- number_chosen: Denotes the number of objects to be selected from the total.
Example #1
=PERMUT(5, 2)
This function calculates the number of ways to arrange 2 objects from a set of 5 distinct items. The result is 20.
Example #2
=PERMUT(10, 3)
Here, the function finds out how many different ways 3 items can be selected from 10. The output will be 720.
Example #3
=PERMUT(6, 6)
In this case, it computes the number of arrangements when all 6 items are used. The result is 720, as all items must be arranged.
Error handling
- NUM!: Occurs when
number
is less thannumber_chosen
or if either argument is not a positive integer. - VALUE!: This error indicates that one of the parameters is not a valid numeric value, meaning non-numeric data was supplied in either argument.