+ Reply to Thread
Results 1 to 5 of 5

Create unique list of sequences

Hybrid View

  1. #1
    Registered User
    Join Date
    11-29-2012
    Location
    Oxford
    MS-Off Ver
    Excel 2016
    Posts
    8

    Create unique list of sequences

    Hi I was wondering if anyone could help me,

    I have four letters "ABCD" and i want a sequence of 5 letters, so one of more of these letters can be repeated. The total number of unique sequences would therefore be 4^5 (1024). I have a list of these sequences which i created using a "ListPermut" module I found on this board. However I would now like to make a list of every permutation where each sequence differs to every other sequence in the list by 4 or more letters.

    Hope that makes sense, any help would be greatly appreciated!

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,328

    Re: Help, Problem creating unique list of sequences

    I'll not be able to help you with this (way beyond me!!), but I think you should explain what you mean (provide examples) of what you mean by:

    "where each sequence differs to every other sequence in the list by 4 or more letters"
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Registered User
    Join Date
    11-29-2012
    Location
    Oxford
    MS-Off Ver
    Excel 2016
    Posts
    8
    Quote Originally Posted by Glenn Kennedy View Post
    I'll not be able to help you with this (way beyond me!!), but I think you should explain what you mean (provide examples) of what you mean by:

    "where each sequence differs to every other sequence in the list by 4 or more letters"
    Thanks, i agree an example would be useful! So if i have one random sequence using the four letters "ADBBC" then i would like to know every permutation where the letters in the sequence are different in at least 4 of the 5 positions e.g. "BADAA" would miss-match 5/5 to the first sequence and "CABDD" would miss-match 4/5 to the previous two however if there are two or more like letters e.g. "CADBA" this would be excluded from the list. Hope this helps

  4. #4
    Registered User
    Join Date
    11-29-2012
    Location
    Oxford
    MS-Off Ver
    Excel 2016
    Posts
    8

    Re: Create unique list of sequences

    Also if it helps each letter in my generated list is populated in a new cell

  5. #5
    Registered User
    Join Date
    11-29-2012
    Location
    Oxford
    MS-Off Ver
    Excel 2016
    Posts
    8

    Re: Create unique list of sequences

    Could anyone give me any suggestions? I can used the find function to select all similar letters in one column and delete the rows but I'ts a tedious process and I would have to do that with all 1024 sequences right? and then combine the results. Would it be possible to write a macro for that solution? I've attached the list of sequences if anyone would like to try
    Attached Files Attached Files

+ 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. Create unique list from data but listed in order based on a different list
    By Groovicles in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-24-2016, 12:54 PM
  2. Create unique # of worksheets based on list count with unique names
    By Groovicles in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-24-2016, 09:51 AM
  3. Counting unique text sequences after applying 2 criteria
    By Rebekah84 in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 07-07-2015, 08:49 AM
  4. Create dropdown list in Excel that will only list unique entries
    By MissAudrey in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 01-22-2015, 04:56 PM
  5. [SOLVED] create list of unique staff numbers with unique work codes
    By shaz0503 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-01-2013, 08:57 PM
  6. VBA: Create unique list based on latest entry in list
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-08-2011, 09:55 AM
  7. Replies: 5
    Last Post: 01-12-2011, 08:49 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