Functions
PERMUTATIONA
Permutations with repetition
Try it
When to use it
When should I use PERMUTATIONA instead of PERMUT?
Use PERMUTATIONA when repetition is allowed — for example, counting how many 2-digit codes can be formed from 3 digits where the same digit may appear twice.
Used in
Syntax
PERMUTATIONA(n,k)Examples
=PERMUTATIONA(3,2) // => 9
=PERMUTATIONA(3.2,2.3) // => 9
=PERMUTATIONA(5,3) // => 125