Calculate MAX remaining possible points in NCAA pool

macfuller

Active Member
Joined
Apr 30, 2014
Messages
319
Office Version
  1. 365
Platform
  1. Windows
Tl’dr I’d like to calculate the maximum possible points left for a player in the NCAA pool without using Power Query or iterative LAMBDA/LET functions for (most of) the pool players who are on Excel 2013 or 2016. I’ve gotten as far as coming up with a solution proposal (I think) using matrices, but my MMULT() wizardry days are long in the past. Hopefully someone has a simpler solution ready to go!

A bit late for this year, but my participants have asked…

Our pool runs on assigning points to a team (10-1 only, but could be higher) and you get those points every time a team wins.
At the start we can identify what games each team will play. If we assign game #’s 1-32 to the first round, 33-48 to the 2nd etc., we can say that starting each round count at the West Region, Gonzaga and Georgia State would have an expected game path of 01_33_49_57_61_63. Ending in the South region Villanova and Delaware would have game paths of 32_48_56_60_62_63.

I assume it’s possible to construct a (virtual?) matrix of the games and identify who the player picked. So each player would have a matrix of teams and games along the lines…

Game 1Game 33Game 49Game 57
Gonzaga1111
Georgia State1111
Boise State0111
Memphis0111
Duke0001
etc


This is the generic matrix, so depending on the points assigned to each team by each player, or the points-per-round value, the “1” above would be changed to the actual points. The matrix is sparse for the earlier games and full for the later ones, since we’re just entering the paths for now. So giving Gonzaga 2 points would show 2’s across that top row. The MAX() value in each column/game will be the number of points potentially earned by the team.

So the question becomes when constructing the virtual matrix how we can set row values to zero when a team has been knocked out (e.g. # wins < the current round) and column values to zero when a game has been played, so that only future games and remaining teams would be in the matrix. Gonzaga's row would be set to zero after the 2nd round (thanks Arkansas!). (Or the matrix can be shrunk to only those teams and games remaining, so if I only have 3 picks left in the Elite 8 I would have just 3 rows, and only those columns representing those games my teams will play in. But that seems harder than flipping a value in the matrix to be zero?)

I also think using MAX is sufficient without having to figure out if I have 2 teams in a game and one of them gets knocked out, and thus having to set their future games to zero, since the MAX value simply carries forward to the next game and we’re assuming my team always wins a game that it’s in for the maximum remaining points.

This solution can be done by physically creating a matrix for each player on a separate tab and having the cell rules reflect the logic above, but I’m wondering if it can be done virtually through a formula. Excel real estate is cheap, but a formula saves a lot of copy/paste formatting each year.
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Additional thought...

Perhaps a simpler route would be to set the unitary matrix above on a single sheet, use logic on the sheet to flip cell values to zero instead of 1 if a team is out or a game is played, and then virtually multiply each player's teams against the matrix team/round points to get the distinct player matrix, then total the MAX() of each game from there? At least that takes away the work of creating the unit matrix in the first place.
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,196
Members
452,616
Latest member
intern444

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