+ Reply to Thread
Results 1 to 5 of 5

Possible Combinations

  1. #1
    Registered User
    Join Date
    02-28-2014
    Location
    FtW TX
    MS-Off Ver
    Excel:Mac 2011
    Posts
    2

    Possible Combinations

    Hi shg, I am trying to understand the "possible combinations" thread you posted/answered back in 2009.
    Last edited by JBeaucaire; 02-28-2014 at 06:40 PM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: possible combinations

    And your question is ...?
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    02-28-2014
    Location
    FtW TX
    MS-Off Ver
    Excel:Mac 2011
    Posts
    2

    Re: possible combinations

    shg,

    I am needing to do something very similar to what was discussed in the 2009 threads/postings.

    Would that routine/code be the same for obtaining the numerical combinations for the following variables?

    S = A + Y + M

    For example, when S = 4:

    A Y M
    0 0 4
    0 1 3
    0 2 2
    0 3 1
    0 4 0
    1 0 3
    1 1 2
    1 2 1
    1 0 3 etc …


    I am needing to do this for S and S can be an integer from 1 - 400. I don't mind having to run the routine 400 times but getting the combinations would be quite laborious and prone to error.

    Your expertise will be Much appreciated.

    XGA

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: possible combinations

    And what happens when you run the exact code posted?

  5. #5
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Possible Combinations

    These posts are moved to a thread of their own as per forum rules. There is a link to the source content you are referencing in the first post.
    Thanks.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Finding possible combinations & listing the wanted combinations
    By Zoke in forum Excel Programming / VBA / Macros
    Replies: 30
    Last Post: 07-16-2012, 03:41 PM
  2. Combinations
    By tazpyro1 in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 05-09-2012, 01:44 PM
  3. [SOLVED] all possible combinations
    By TravelDrome in forum Excel General
    Replies: 1
    Last Post: 04-25-2012, 06:42 PM
  4. [SOLVED] Combinations
    By Peo Sjoblom in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-06-2005, 06:05 AM
  5. Combinations
    By osprey in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1