다음을 통해 공유


WorksheetFunction.Permut Method (Excel)

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(Arg1, Arg2)

A variable that represents a WorksheetFunction object.

Parameters

Name

Required/Optional

Data Type

Description

Arg1

필수

Double

Number - an integer that describes the number of objects.

Arg2

필수

Double

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

Return Value

Double

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: Ff839865.awfpermu_ZA06051231(ko-kr,office.14).gif

참고 항목

개념

WorksheetFunction Object

WorksheetFunction Object Members