List of numbers where the sum of any combination cannot equal the sum of any other combination

ElMushu

New Member
Joined
Aug 29, 2011
Messages
1
I am looking for a way for Excel to generate, or help me generate 7 (for example) numbers in any range i specify. (I find that it helps to visualize a box containing 7 "hidden" balls that once pulled, cannot be put back in the box.)

Rule #1: each number is unique
Rule #2: the sum of any combination of 1,2,3,4,5 or 6 of those numbers may not equal any of the numbers on the balls. (so...if there's a '7-ball' in the box, you cannot also have a '3-ball" and a 4-ball" in the box with it, nor can you have a '1'-ball, a '2' ball, and a '4' ball all in the box with it.)
Rule #3: the sum of any combination of those numbers may not equal the sum of any combination of any of the OTHER numbers. (so if you have a '5-ball' and a '6-ball' in the box (5+6=11)... you cannot also have a '3-ball', a '1-ball' and a '7-ball' in the box 3+1+7=11).

But... it does not matter that the sum of the first, third and sixth ball equals the sum of the second, third, and fifth ball, since the third ball may only be pulled out of the box once.

I just realized a totally different way of looking at it - If this was a game of pocket billiards/pool with 7 balls on the table - and every ball pocketed would award that ball's numerical value to the person who got it in, it would be numerically impossible for any game to end in a tie, no matter how many players were playing or how many balls each of them sunk.

Many thanks for your help. OH, And if this becomes a new billiards game in the process, I promise to share all profits 50/50!

:)

Thanks!
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number

Forum statistics

Threads
1,224,587
Messages
6,179,741
Members
452,940
Latest member
rootytrip

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
Back
Top