Documentation/How Tos/Calc: PERMUT function

From Apache OpenOffice Wiki
< Documentation‎ | How Tos
Revision as of 05:19, 8 April 2008 by Drking (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Returns the number of permutations for a given number of objects.


PERMUT(n; k)

where n and k are integers.
PERMUT returns the number of ordered ways that k objects can be chosen from a set of n objects. For example with a set of 3 objects A, B, C, we can choose 2 as follows: AB, AC, BA, BC, CA, CB.
PERMUT calculates:

image to follow


PERMUT(3; 2)

returns 6, as in the example above.

See also:


Statistical functions

Mathematical functions


  • The forthcoming international standard ODFF expects n and k to be integers. Both Calc and Excel truncate any non-integer parameter.
Personal tools