+ Reply to Thread
Results 1 to 2 of 2

Order Sets and Arrays

  1. #1
    Registered User
    Join Date
    06-09-2011
    Location
    Toronto
    MS-Off Ver
    Excel 2007
    Posts
    17

    Order Sets and Arrays

    Hello, I was hoping to get some help on a little problem I am having. It is very convoluted, but I will summarize with a little example:

    We have customers who order items in a specific order (Product X first, Product Y second, Product Z, etc...)

    As it stands, no one orders in the same way and we want to try to standardize this process.

    I have a list of about 600 products, such as:
    • Product X
    • Product Y
    • Product Z
    • Product 300...


    I need to know the top 10 products ordered together. (the idea is that this variable will be changeable, and I can see the top 11, 12, or even more)

    My idea is to generate a list of arrays in a new sheet with 10 products in them from the list; ie {Product A, Product B, Product C...Product K}, (noting to alphabetize the array entries and then remove duplicates form the row)

    With this list, I will use each entry to check with each customer if they're order set array equals this list (again, alphabitized and duplicates removed to ensure comparison).

    My question:
    • Is this the most optimal way to do this? ... I am not even sure it would get me where I want to be. As it seems like an amazing amount of coding and formulas; but through my searching I haven't found this unique example.
    • How can I generate my unique, alphabetized arrays for comparison (ie: 10x10, 9x9, 8x8...)


    Any help is much appreciated!

    Thanks,
    Jon
    Last edited by Jon.R; 02-12-2014 at 04:25 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    03-22-2013
    Location
    Australia,NSW, Wirrimbi
    MS-Off Ver
    Excel 2013
    Posts
    1,057

    Re: Order Sets and Arrays

    Hi..
    Sounds like "Basket Analysis" or "Product Association" .. known as Apriori Algorithm..
    I don't think the solution would be an easy one to create..

    All i can offer is a link that may help you understand the concept more:
    http://en.wikipedia.org/wiki/Apriori_algorithm

+ 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. [SOLVED] New to arrays-Create two column array with different column order to sheet?
    By mc84excel in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-02-2013, 01:37 AM
  2. Showing Correlation between 2 sets of data that have to be in time order.
    By joshnathan in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 02-25-2013, 07:50 AM
  3. Replies: 7
    Last Post: 01-16-2013, 05:35 PM
  4. Randomize order of specific sets of rows/columns
    By Eric Excels in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 08-28-2011, 03:38 PM
  5. For next loop including two sets of arrays
    By stanysurfer in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 09-20-2010, 07:18 AM

Tags for this Thread

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