Click to Rate and Give Feedback
MSDN
MSDN Library
Office Development
Excel 2007
Methods
 Combin Method

  Switch on low bandwidth view
Community Content
In this section
Statistics Annotations (0)
WorksheetFunction.Combin Method
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

expression.Combin(Arg1, Arg2)

expression   A variable that represents a WorksheetFunction object.

Parameters

NameRequired/OptionalData TypeDescription
Arg1RequiredDoubleThe number of items.
Arg2RequiredDoubleThe 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:

    Equation

    where:

    Equation




Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker