• 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

FBB

New Member
Any suggestions for a formula that returns all combinations of a given set?

For example A, B, C

would return:

A, B, C
A, C
A, B
A
B
C
 
Hi FBB,

Return from where, or are you after all the possible permutations from A,B,C? I doubt that you have captured all the possible results from A,B,C, for example

B, C, A
A, C, B
etc.


kanti
 
Hi Kchiba,

I'm looking for all combinations (order doesn't matter) of A, B, C including groups of 1 item, 2 items or 3 items.
You are correct -- I was missing B, C and <null>. The spreadsheets and links below actually don't address this problem/I'm not smart enough to figure out how to modify them to address this issue.

A, B, C
A, C
A, B
B, C
A
B
C
<null>

A, B, C has 8 solutions
A, B, C, D has 16 solutions.
A, B, C, D, E has 32 solutions.
A, B, C, D, E, F has 64 solutions.

Hi FBB,
aoubt that you have captured all the possible results from A,B,C, for example

B, C, A
A, C, B
etc.


kanti
 
Back
Top