+ Reply to Thread
Results 1 to 4 of 4

Auto Generating Permutaions

  1. #1
    Registered User
    Join Date
    09-25-2011
    Location
    Hemet, California
    MS-Off Ver
    Excel 2007
    Posts
    6

    Auto Generating Permutaions

    I would like to generate permutations for practicing guitar patterns to be imported into a flash card program.

    Each card will have the following fields that will each contain a list of variable values: Key, Degree, String, Finger, Pattern, Direction. These fields will each correspond to a column in the resulting spreadsheet. So one card (row) might look like this:

    Key: Bb
    Degree: 5
    String: 4
    Finger: 1
    Pattern: Major Scale
    Direction: Ascending

    I want to be able to create every combination, given a list of values for each field. For example, I want to practice the major scale in all keys (A, B, C, D, E, F, G, Ab, Bb, Eb, C# / Db, F# / Gb), starting from each scale degree (1 - 7), starting on each string (1-6), using each finger (1-4), both ascending and descending. I need to be able to change the list in each field. For example, a Major chord has degree 1, 3 and 5, while a Major scale has degrees 1 - 7. If a field is left blank, like direction, it should generate results leaving that factor out. I know very little about Excel. So if anyone could attach a spreadsheet that does this, it would be awesome. If this is a really hard task that I should post to a freelance site for a paid programmer, just let me know.

    Oh, and I don't even know if "permutation" is the right word. Maybe I am talking about combinations. Let me know, and I will ask the moderator to change the title.

    Thank you for taking a look at this.
    Last edited by JonZ; 03-11-2015 at 03:23 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: Auto Generating Permutaions

    Welcome to the forum.

    See the workbook at https://app.box.com/s/47b28f19d794b25511be
    Last edited by shg; 03-11-2015 at 08:47 PM.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    09-25-2011
    Location
    Hemet, California
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Auto Generating Permutaions

    That's brilliant. Thank you! It did just what I wanted, and I had no trouble adding more columns.

    Should I change my title to "Auto Generating Cartesian Products", so others can find it? I am thinking that it generates all combinations, rather than all permutations, if I understand the definitions correctly.

  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: Auto Generating Permutaions

    You're welcome.

+ 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. Auto generating sequence number
    By DKAbi in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-29-2013, 09:38 PM
  2. Auto generating Charts
    By kBarnes in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-31-2012, 02:15 PM
  3. Auto generating email
    By souljive99 in forum Outlook Programming / VBA / Macros
    Replies: 0
    Last Post: 07-01-2010, 02:43 PM
  4. Auto Generating File Name
    By ncgreyfriars in forum Excel General
    Replies: 1
    Last Post: 04-02-2009, 05:25 AM
  5. [SOLVED] Auto generating a printed date
    By Tbone in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 02-17-2006, 06:20 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