| | | If any of the arguments are not integers, they are truncated. |
| | | If any of the arguments are not numeric, then #VALUE! is returned. |
| | | If "number" <= 0, then #NUM! is returned. |
| | | If "number_chosen" < 0, then #NUM! is returned. |
| | | If "number" < "number_chosen", then #NUM! is returned. |
| | | 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. |
| | | 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: |