Calculating NCAA pool score

macfuller

Active Member
Joined
Apr 30, 2014
Messages
319
Office Version
  1. 365
Platform
  1. Windows
I'm getting ready for March Madness with an inherited spreadsheet but I'm struggling to come up with the right formula for getting a score based on points per round, as well as being able to compute the maximum remaining points.

Here's a sample of the table from last year. Keeping it simple for now, Boise State and Gonzaga have played a couple of games. Player 1 picked Boise St. to go 2 rounds and Gonzaga to go 5 rounds (e.g. losing in the final). Based on the points per round the player has earned 10 points for Boise State's first-round win and 30 points for Gonzaga's round 1 and round 2 wins for a total of 40, which is what I would like to have appear in the Player Points row.
Player 1 also will have a maximum of 290 points remaining (total points for rounds 3-5) with Gonzaga and 0 for Boise St. since they lost in the 2nd round. (This does not reflect the actual tournament!)



I can get the points for an individual player and row such as Gonzaga for Player 1 with a formula along the lines of
=SUMPRODUCT(($F$3:$F$8) * (($E$3:$E$8) <= MIN($C29,D29)))
and similarly for the remaining points with
=SUMPRODUCT($F$3:$F$8, ($E$3:$E$8 > $C29) * ($E$3:$E$8 <= D29))

But since the round score array and the team arrays are different sizes I'm having trouble figuring out a single formula, rather than having a helper column for each player. Thanks for the help!
 
Last edited:

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
I think I've developed a formula that counts the Player Points.

It requires the addition of the Cumulative column to the points tableau. I added some dummy data as well. Specifically, there are times a team went a round or more that no player bet on. There are times a player bet more rounds than the team achieved. There are times the player bet the same number of rounds the team achieved. And there are time a player bet fewer rounds than the team achieved. There are times where no player bet and the team won nuttin. I think that covers it.

MrExcel posts19.xlsx
ABCDEFG
12022 Player Picks
2Points Per RoundScoringRoundPointsCumulative Points
311010
422030
534060
64100140
75150250
86300450
9
10Player Points4080260460
11
12
13TeamsRounds WonPlayer 1Player 2Player 3Player 4
14Akron (13)6356
15Alabama (6)3
16Arizona (1)0
17Arkansas (4)0
18Auburn (2)0
19Baylor (1)0
20Boise State (8)12316
21Chattanooga (13)0
22Colgate (14)0
23Colorado St (6)0
24CSU Fullerton (15)2
25Davidson (10)0
26Delaware (15)0
27Duke (2)0
28Georgia State (16)0
29Gonzaga (1)251
30Houston (5)0
31Illinois (4)0
32Iowa (5)0
33Iowa State (11)0
34Jacksonville State (15)0
35Kansas (1)0
36Kentucky (2)0
Sheet36
Cell Formulas
RangeFormula
A1A1=YEAR(TODAY()) & " Player Picks"
G3G3=F3
G4:G8G4=F4+F3
D10:G10D10=SUM(XLOOKUP(FILTER(BYROW(CHOOSECOLS($C$14:$G$36,1,COLUMNS($C$10:D10)),LAMBDA(a,MIN(IF(a="",0,a)))),BYROW(CHOOSECOLS($C$14:$G$36,1,COLUMNS($C$10:D10)),LAMBDA(a,MIN(IF(a="",0,a))))>0),$E$3:$E$8,$G$3:$G$8))
 
Upvote 0
I think I've developed a formula that counts the Player Points.

It requires the addition of the Cumulative column to the points tableau. I added some dummy data as well. Specifically, there are times a team went a round or more that no player bet on. There are times a player bet more rounds than the team achieved. There are times the player bet the same number of rounds the team achieved. And there are time a player bet fewer rounds than the team achieved. There are times where no player bet and the team won nuttin. I think that covers it.

MrExcel posts19.xlsx
ABCDEFG
12022 Player Picks
2Points Per RoundScoringRoundPointsCumulative Points
311010
422030
534060
64100140
75150250
86300450
9
10Player Points4080260460
11
12
13TeamsRounds WonPlayer 1Player 2Player 3Player 4
14Akron (13)6356
15Alabama (6)3
16Arizona (1)0
17Arkansas (4)0
18Auburn (2)0
19Baylor (1)0
20Boise State (8)12316
21Chattanooga (13)0
22Colgate (14)0
23Colorado St (6)0
24CSU Fullerton (15)2
25Davidson (10)0
26Delaware (15)0
27Duke (2)0
28Georgia State (16)0
29Gonzaga (1)251
30Houston (5)0
31Illinois (4)0
32Iowa (5)0
33Iowa State (11)0
34Jacksonville State (15)0
35Kansas (1)0
36Kentucky (2)0
Sheet36
Cell Formulas
RangeFormula
A1A1=YEAR(TODAY()) & " Player Picks"
G3G3=F3
G4:G8G4=F4+F3
D10:G10D10=SUM(XLOOKUP(FILTER(BYROW(CHOOSECOLS($C$14:$G$36,1,COLUMNS($C$10:D10)),LAMBDA(a,MIN(IF(a="",0,a)))),BYROW(CHOOSECOLS($C$14:$G$36,1,COLUMNS($C$10:D10)),LAMBDA(a,MIN(IF(a="",0,a))))>0),$E$3:$E$8,$G$3:$G$8))

Interesting...

That helped a lot, but I think I've got something a bit shorter that doesn't need a new column. I'm also not sure about the Player 3 total in your sample. If Akron has 6 wins and Player 3 had them for 5 rounds, that's 320 points right there? I think your cumulative total might be off if not the formula.

I couldn't figure out the BYROW without an extra column, but I think the MAP() function works? People have been running pools since Dan Bricklin and VisiCalc, so I thought there might be a non-LAMBDA solution :unsure:

Excel Formula:
=SUM(
    MAP(
             tblPPRPicks[Rounds Won], tblPPRPicks[Player 1]+0,
                  LAMBDA(a,b,SUMPRODUCT(
                                        (RndPoints) * ((RndName) <= MIN(a,b))
                                                            )
                                  )
            )
         )

Where I've named the table tblPPRPicks. I added the +0 to the Player column to make sure any blank cells were interpreted as numeric, in case another user doesn't bother to enter zeros for the first-round losers.

The Max Remaining Points required a new column to indicate whether a team had crashed out or just hadn't reported. So Boise State was showing they'd won the first round, but how does the formula know they've lost and shouldn't try to calculate any future points for them?

Excel Formula:
=SUM(
      MAP(tblPPRPicks[Rounds Won], tblPPRPicks[Still Playing], tblPPRPicks[Player 1],
          LAMBDA(a,b,c,
             SUMPRODUCT(
             RndPoints, (RndName > a) * ((RndName <= c) * b)
                                      )
                        )
      )
)

Here's the table with the new column.

 
Last edited:
Upvote 0
Solution
Player 3 got 250 for 5 of Akron's 6 rounds and 10 for Boise's 1 rounds - that's 260.
 
Upvote 0

Forum statistics

Threads
1,224,822
Messages
6,181,165
Members
453,021
Latest member
Justyna P

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