formula to find all possible combinations

M

maijiuli

Hello,

Is there something in Excel 2003 to find all possible combinations of a set.
For example if I have:

Employee
Spouse
Domestic Partner
Child
Children
DP Child
DP Children

How do I find all the possible combinations? Like:

Employee only is one combination
Employee + Spouse is one combination
Employee + Spouse + Child is one combination

Please let me know if this is possible?
 
D

D Hilberg

The formula to *count* the combinations:

= 2^7 - 1

If you want the whole list, you may need a macro.
 
M

maijiuli

Thanks for the formula D Hilberg. That's a start.

Does anyone know somewhere on the web where I can research to create this
macro? I do not mind to create the macro myself with a little push in the
right direction.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top