
The `PERMUT` function in Excel is used to calculate the number of permutations of a set, a specific number of elements chosen from a larger set where order matters. Here’s how you can use the `PERMUT` function:
Syntax:
PERMUT(number, number_chosen)
- number: The total number of items in the set.
- number_chosen: The number of items to choose from the set to form permutations.
Example:
Suppose you want to determine how many different ways you can arrange three books out of a shelf of five books.
=PERMUT(5, 3)
- Select a Cell: Click on the cell where you want the result to appear.
- Enter the Formula: Type the formula using the `PERMUT` function. For this example, you would enter:
- Press Enter: Hit the `Enter` key to compute the result.
Explanation:
- In the formula `=PERMUT(5, 3)`, you are calculating the number of ways to arrange 3 books out of a total of 5, considering the order.
- The result will be `60`, as there are 60 different ways to arrange 3 books out of 5 when the order matters.
Notes:
- The `PERMUT` function only deals with permutations where the order of items is important. If you need combinations where order does not matter, you should use the `COMBIN` function instead.
- If `number_chosen` is greater than `number`, `PERMUT` will return an error because you cannot choose more items than are available.
- The inputs must be non-negative integers; otherwise, `PERMUT` will return an error.
By using these guidelines, you can easily calculate permutations in Excel for various scenarios.