+ Reply to Thread
Results 1 to 2 of 2

Combinations

  1. #1
    Forum Contributor
    Join Date
    11-06-2012
    Posts
    139

    Combinations

    Hi,

    It is a question about combinations.

    Let say their are different combinations. For example:

    Fish, Car, Bike, House, Cat, Shoes

    Car, Blue, Red, Orange, Fish, Goat

    I not only want the count of the combinations, but also in what order.

    In the attachment i made an example and how it should look like.

    I made an example with numbers, it's simplefied.

    My question is: is there a vba-code to do this fast.

    I want the count of the combinations, but also the order. Because the the first table, is the first combination. Their are only ones, 1 to 2 3 4 8 9 had appaered only 1 time. So the first row is only ones etc. In the second combination the 2 to the 4 appaered for the second time. See attachment
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    09-25-2011
    Location
    Eastbourne, England
    MS-Off Ver
    Excel 2010
    Posts
    1,089

    Re: Combinations

    Hi Mervm0

    Thank you for providing a sample of what you are expecting. Unfortunately, I have no idea how you get your "How it should look like" sheet from your "Combinations"

    It might help if I understood the significance of the "e" as in 1e, 2e etc and I cannot explain the 1e etc label being on the vertical and horizontal axes.

    I am also not understanding why most are "1"s there are a couple of "2"s (but this is most likely linked to the 2 being in both combinations, somehow)

    Other than the above, everything is perfectly clear

    I do hope that I am not the only one not clever enough to understand what you are trying to achieve. I am sure that once I understand the rules, writing the VBA will be easy!



    Regards
    Alastair

+ 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. All possible combinations..
    By aidenjacks in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-20-2013, 01:28 PM
  2. Combinations
    By shart2k12 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-22-2013, 09:46 PM
  3. 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
  4. Combinations
    By osprey in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 AM
  5. Combinations
    By osprey in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 PM

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