List of Combinations of 7 different objects

Susie_S

New Member
Joined
Jan 4, 2017
Messages
2
Hi everyone,

I have a list of 7 possibilities (A,B,C,D,E,F,G) all of which can be combined with each other from being alone (A) to all 7 combined (A,B,C,D,E,F,G). Is there a way in excel to generate a list of all the possible combinations? Order does not matter.

I think there should be about 255 different combinations but I can't figure out how to create that list.

Thanks for any assistance! :)
 

Some videos you may like

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.

mikerickson

MrExcel MVP
Joined
Jan 15, 2007
Messages
23,901
Consider a seven digit binary number, if there is a zero in the i'th place then the i't item is in that group

i.e.
0100110 represents B,E,F
1100110 represents A,B, E,F


There are 2^7 possibilities (Including the "none") result.
 

Susie_S

New Member
Joined
Jan 4, 2017
Messages
2
Consider a seven digit binary number, if there is a zero in the i'th place then the i't item is in that group

i.e.
0100110 represents B,E,F
1100110 represents A,B, E,F


There are 2^7 possibilities (Including the "none") result.

Hi mikerickson,

Thank you for your reply :) Does that mean there should only be 128 combinations? That is good news for me!
 

mikerickson

MrExcel MVP
Joined
Jan 15, 2007
Messages
23,901
Pretty much, but it also implys that there's no need to list them all. Since its the same as counting, you don't need to write out each combination.
 

Watch MrExcel Video

Forum statistics

Threads
1,122,217
Messages
5,594,887
Members
413,947
Latest member
gizmolucy

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top