PERMUTATIONA function: Description, Usage, Syntax, Examples and Explanation
What is PERMUTATIONA function in Excel?
PERMUTATIONA function is one of Statistical functions in Microsoft Excel that returns the number of permutations for a given number of objects (with repetitions) that can be selected from the total objects.
Syntax of PERMUTATIONA function
PERMUTATIONA(number, number-chosen)
The PERMUTATIONA function syntax has the following arguments:
- Number: An integer that describes the total number of objects.
- Number_chosen: An integer that describes the number of objects in each permutation.
PERMUTATIONA uses the following equation:
Explanation of PERMUTATIONA function
- Both arguments are truncated to integers.
- If numeric arguments are values that are not valid, for example, when the total number is zero (0) and the chosen number is larger than zero (0), PERMUTATIONA returns the #NUM! error value.
- If numeric arguments use data types that are nonnumeric, PERMUTATIONA returns the #VALUE! error value.
Example of PERMUTATIONA function
Steps to follow:
1. Open a new Excel worksheet.
2. Copy data in the following table below and paste it in cell A1
Note: For formulas to show results, select them, press F2 key on your keyboard and then press Enter.
You can adjust the column widths to see all the data, if need be.
Formula | Description | Result |
=PERMUTATIONA(3,2) | Suppose there are 3 objects in the group, [4,5,6]. Using PERMUTATIONA with 2 of the 3 objects, there are 9 ways the numbers can be arranged with repetition: | 9 |
4,4 | ||
4,5 | ||
4,6 | ||
5,4 | ||
5,5 | ||
5,6 | ||
6,4 | ||
6,5 | ||
6,6 | ||
=PERMUTATIONA(2,2) | Suppose there are 2 objects in the group, [3,5]. Using PERMUTATIONA with both of the objects, there are 4 ways the numbers can be arranged with repetition: | 4 |
3,3 | ||
3,5 | ||
5,3 | ||
5,5 |