+ Reply to Thread
Results 1 to 12 of 12

Make a unique list from all separated value across multiple cells

  1. #1
    Forum Contributor
    Join Date
    05-20-2008
    Location
    England
    MS-Off Ver
    Office 365
    Posts
    174

    Make a unique list from all separated value across multiple cells

    Apologies if this has been covered but I couldn't find anything.
    I also apologise that on this occasion I have not even been able to get started.


    I have a number of values in three columns that are separated consistently from each other.
    I need to somehow create a list of all the possible combinations taking a value from each cell.

    Is there a way of doing this with formulas or do I need to use VBA? Can it even be done with VBA?


    Sample attached.
    Attached Files Attached Files
    Last edited by Andrew-Mark; 09-26-2018 at 09:29 AM. Reason: Submitted too early

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Make a unique list from all separated value across multiple cells

    Try this
    Enter formula in F2 and copy down
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Please see attached file.
    Attached Files Attached Files
    Last edited by AlKey; 09-23-2018 at 11:17 AM.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Make a unique list from all separated value across multiple cells

    Another way, please try at
    H2
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    I2
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by Bo_Ry; 09-23-2018 at 01:35 PM.

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Make a unique list from all separated value across multiple cells

    With VBA
    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    05-20-2008
    Location
    England
    MS-Off Ver
    Office 365
    Posts
    174

    Re: Make a unique list from all separated value across multiple cells

    I would just like to say thank you both as this is starting me down the route I can see I need to go.
    Fluff; how would I adjust this VBA if I had multiple rows but always the same number of columns?
    I am now thinking that I will have a singe product entered in column A with up to 5 options in Column B each of which can be got in many colours listed in column C. There wil also be multiple rows for the different products.

  6. #6
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Make a unique list from all separated value across multiple cells

    How about
    Please Login or Register  to view this content.

  7. #7
    Forum Contributor
    Join Date
    05-20-2008
    Location
    England
    MS-Off Ver
    Office 365
    Posts
    174

    Re: Make a unique list from all separated value across multiple cells

    Thanks for that but I am getting an overflow error.

    Is that because I have too many combinations?

    I have attached a workbook with the actual combinations input.
    Attached Files Attached Files

  8. #8
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Make a unique list from all separated value across multiple cells

    Is that because I have too many combinations?
    Yup, This will put the output in colsG, H etc
    Please Login or Register  to view this content.

  9. #9
    Forum Contributor
    Join Date
    05-20-2008
    Location
    England
    MS-Off Ver
    Office 365
    Posts
    174

    Re: Make a unique list from all separated value across multiple cells

    Is there any way to get them in a long list rather than in a separate column each time?
    I do apologise for this, I do prefer to try and learn all this but this line..

    Please Login or Register  to view this content.
    ...is new to me and not sure how to alter it to make it work.

  10. #10
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Make a unique list from all separated value across multiple cells

    How about
    Please Login or Register  to view this content.

  11. #11
    Forum Contributor
    Join Date
    05-20-2008
    Location
    England
    MS-Off Ver
    Office 365
    Posts
    174

    Re: Make a unique list from all separated value across multiple cells

    Damnit, I was so close with my attempts.
    I wish I did VBA all the time so I knew it better.
    I will give that a try and then mark this as SOLVED.

    Thank you, thank you

  12. #12
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Make a unique list from all separated value across multiple cells

    Glad to help & thanks for the feedback

+ 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. count unique comma separated names in range of cells
    By raogm2001 in forum Excel Programming / VBA / Macros
    Replies: 22
    Last Post: 10-07-2017, 09:50 AM
  2. [SOLVED] Max of unique values in cells separated by a delimiter
    By sans in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 04-21-2013, 06:12 AM
  3. Replies: 1
    Last Post: 04-19-2013, 02:25 AM
  4. Creating a comma separated list for unique entires
    By kreativsoul in forum Excel General
    Replies: 9
    Last Post: 07-22-2012, 11:42 PM
  5. Replies: 8
    Last Post: 06-06-2012, 11:09 AM
  6. [SOLVED] Make unique list from a cells in one row
    By biber in forum Excel General
    Replies: 6
    Last Post: 04-07-2012, 03:43 PM
  7. How to make a list of words separated by commas?
    By Alle in forum Excel General
    Replies: 2
    Last Post: 08-28-2011, 05:39 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