Pool Combination generator - excel 2000

groot2000

New Member
Joined
Dec 13, 2005
Messages
2
Hi, I'm using excel 2000 and interested in getting some help regarding combinations.
I'm in a hockey pool and have the following games:
game 1: Team A vs Team B
game 2: Team A vs Team B
game 3: Team A vs Team B

I'm interested in determining a list of all the possible winning combinations. For example:
game 1: A (winner)
game 2: B (winner)
game 3: A (winner)

I realize that there are 8 different combinations (POWER(2,3)) or 2 to the power of 3.
What I'm wondering is if excel can generate the 8 different combinations in a list for me, similar to what I've shown above?
Thanks.

g
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
I'd do a search on "List Combinations". Maybe even "pool" or "fantasy". This question has come up a time or two.
 
Upvote 0
Yeah, I spent over an hour searching before posting my question.
While there was a lot of posts on fantasy sports leagues, there didn't seem to be anything regarding excel writing out the various combinations of winning teams.
Any other ideas?
 
Upvote 0
Most solutions posted tend to use VBA to iterate through nested For/Next Loops.
groot2000 said:
Any other ideas?
You could always break the problem into chunks.
  1. First you need a formula that will toggle back and forth between 0 and 1 by row.
  2. Then make it toggle between 1 and 2 by adding 1.
  3. Then make it toggle every 2^n rows when moved column to column.
  4. Then push that into a CHOOSE() formula to show team "A" or "B" [or use MATCH or Char(x+64) or Lookup()...pick your preference].
And Voilá!
book2
ABCD
1Winner G1Winner G2Winner G3Winner G4
2AAAA
3BAAA
4ABAA
5BBAA
6AABA
7BABA
8ABBA
9BBBA
Sheet1


Formula in A2 and copied down and over is: <ul>[*]=CHOOSE(MOD(ROUNDUP((ROW()-ROW(A$1))/2^(COLUMN()-1),0)+1,2)+1,"A","B")[/list]
 
Upvote 0

Forum statistics

Threads
1,223,924
Messages
6,175,416
Members
452,640
Latest member
steveridge

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