PERMUT

Microsoft Office Excel 2003

See Also

Returns the number of permutations for a given number of objects that can be selected from number objects. A permutation is any set or subset of objects or events where internal order is significant. Permutations are different from combinations, for which the internal order is not significant. Use this function for lottery-style probability calculations.

Syntax

PERMUT(number,number_chosen)

Number    is an integer that describes the number of objects.

Number_chosen    is an integer that describes the number of objects in each permutation.

Remarks

  • Both arguments are truncated to integers.
  • If number or number_chosen is nonnumeric, PERMUT returns the #VALUE! error value.
  • If number ≤ 0 or if number_chosen < 0, PERMUT returns the #NUM! error value.
  • If number < number_chosen, PERMUT returns the #NUM! error value.
  • The equation for the number of permutations is:

    Equation

Example

Suppose you want to calculate the odds of selecting a winning lottery number. Each lottery number contains three numbers, each of which can be between 0 (zero) and 99, inclusive. The following function calculates the number of possible permutations:

The example may be easier to understand if you copy it to a blank worksheet.

ShowHow?

  1. Create a blank workbook or worksheet.
  2. Select the example in the Help topic. Do not select the row or column headers.

    Selecting an example from Help

    Selecting an example from Help

  3. Press CTRL+C.
  4. In the worksheet, select cell A1, and press CTRL+V.
  5. To switch between viewing the results and viewing the formulas that return the results, press CTRL+` (grave accent), or on the Tools menu, point to Formula Auditing, and then click Formula Auditing Mode.
 
1
2
3
A B
Data Description
100 Number of objects
3 Number of objects in each permutation
Formula Description (Result)
=PERMUT(A2,A3) Permutations possible for the terms above (970200)