다음을 통해 공유


WorksheetFunction.Combin Method (Excel)

Returns the number of combinations for a given number of items. Use Combin to determine the total possible number of groups for a given number of items.

Syntax

.Combin(Arg1, Arg2)

A variable that represents a WorksheetFunction object.

Parameters

Name

Required/Optional

Data Type

Description

Arg1

필수

Double

The number of items.

Arg2

필수

Double

The number of items in each combination.

Return Value

Double

Remarks

  • Numeric arguments are truncated to integers.

  • If either argument is nonnumeric, Combin generates an error.

  • If number < 0, number_chosen < 0, or number < number_chosen, Combin generates an error.

  • A combination is any set or subset of items, regardless of their internal order. Combinations are distinct from permutations, for which the internal order is significant.

  • The number of combinations is as follows, where number = n and number_chosen = k: Ff839416.awfcmbn1_ZA06051122(ko-kr,office.14).gifwhere: Ff839416.awfcmbn2_ZA06051123(ko-kr,office.14).gif

참고 항목

개념

WorksheetFunction Object

WorksheetFunction Object Members