+ Reply to Thread
Results 1 to 2 of 2

Permutations of Some Values in a Column with some other values?

  1. #1
    Registered User
    Join Date
    08-15-2014
    Location
    Berlin, Germany
    MS-Off Ver
    2010
    Posts
    1

    Permutations of Some Values in a Column with some other values?

    Hey everyone,

    Can someone please help me out? I'd really appreciate pointers.

    I have a data set in 3 columns. Column A contains categories, like "Colour," "Size," etc. Column B contains several values for each of these categories, like "Red," "Blue," "Small" etc. and column C has numerical codes for each category, so 1 for each Colour, 2 for each Size, etc.

    Can I create all permutations of each value in Column B, except for values that are both in the same category? For example, "red large", "red small", "large red","small red" and so on, BUT NOT "blue red" and "large small?" Ideally all these new permutations would be created in Column D.

    I'd also like to create the corresponding permutations from Column C (the number codes) and put these permutations in Column E.

    There will not be a fixed number of categories in Column A, or a fixed number of values in any category.

    Thanks in advance for any help, I've been struggling with this for a while!

  2. #2
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: Permutations of Some Values in a Column with some other values?

    Hi and welcome to the forum!

    I think with that type of question it would be very helpful if you could upload an actual workbook with an example or two and clearly indicate your desired results.

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  3. #3
    Registered User
    Join Date
    08-15-2014
    Location
    Berlin, Germany
    MS-Off Ver
    2010
    Posts
    1

    Re: Permutations of Some Values in a Column with some other values?

    Attachment 339424Hey! Thanks for the welcome, I appreciate it.

    I've attached a workbook - columns A, B, C are samples of the data I already have. Columns D and E would be the desired result from this data set. Does this help?

    Thanks again!
    Last edited by ryanenjoysmusic; 08-16-2014 at 06:26 PM.

+ 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] finding all possible permutations of four sets of values
    By Tuanfeng in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-29-2014, 11:41 AM
  2. Replies: 2
    Last Post: 12-30-2013, 08:15 AM
  3. Generating table of permutations of text values
    By bernborough in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-12-2010, 06:00 PM
  4. Macro that will copy values in Column J and paste values to Column B in new sheet
    By Phixtit in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-16-2010, 04:56 PM
  5. assigning date entries to week values and month values to sum column C-N values C-
    By the accountant in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-20-2010, 09:52 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