• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Combinations of a text list

Hi all,

I have been searching on various sites for a while for a solution to this problem and I keep thinking I've found what I need but never quite finding the right thing.

I have a list of people, and what I need to get is all possible combinations of these people. I can do this manually, however the list may be expanded or changed, and I don't want to have to do it each time. Unfortunately macros are not a possibility.

So the list I have is:
Ash
Craig
Jon
Claire

And the results I need are:
Ash
Craig
Jon
Claire
Ash; Craig
Ash; Jon
Ash; Claire
Craig; Jon
Craig; Claire
Jon; Claire
Ash; Craig; Jon
...
etc all the way down to
...
Ash; Craig; Jon; Claire

This would then be a named range which can be used in a drop-down box elsewhere.

This is beyond my equation-fu, but I was hoping someone may have come across this before. There will never be more than 6 people in this list.

If this is not possible then I will have to find some alternative, but at least I would be put out of my misery!!!

Thanks in advance, you guys are always incredible!
 
It didn't enjoy using text, but a simple vlookup substitution for numbers at each end did the job, thanks SirJB7.

It got horribly large even when using 5 names, so I'll just have to set the maximum as 4!!

Cheers,
Jon
 
Hi, caladanbrood!

Give a look at the uploaded file. It's like that I can't find here at this site, but it isn't finished yet. Formulas for columns D:J (in fact E:J as D is a dummy for keeping formulas -future- easier) aren't yet written. I'll try to do when 3 things happen: find the time, get the inspiration, open a Carslberg. Will be back then, in the meanwhile play a bit with it, if you wish to.

Regards!
 

Attachments

  • Combinations of a text list (for caladanbrood at chandoo.org).xlsm
    10.9 KB · Views: 2
Back
Top