JenniferMurphy
Well-known Member
- Joined
- Jul 23, 2011
- Messages
- 2,691
- Office Version
- 365
- Platform
- Windows
I have been doing some calculations on the Vegas odds for the NBA Championship series. I'd like to calculate the odds for every possible combination of wins and losses for the rest of the playoffs. I'd like to set up a table something like this:
[TABLE="class: grid, width: 789"]
<tbody>[TR]
[TD="align: center"]C/R[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]D[/TD]
[TD="align: center"]E[/TD]
[TD="align: center"]F[/TD]
[TD="align: center"]G[/TD]
[TD="align: center"]H[/TD]
[TD="align: center"]I[/TD]
[TD="align: center"]J[/TD]
[/TR]
[TR]
[TD="align: center"]7[/TD]
[TD="align: center"][/TD]
[TD="align: center"]Game 3[/TD]
[TD="align: center"]Game 4[/TD]
[TD="align: center"]Game 5[/TD]
[TD="align: center"]Game 6[/TD]
[TD="align: center"]Game 7[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]8[/TD]
[TD="align: center"]Results[/TD]
[TD="align: center"]Away[/TD]
[TD="align: center"]Away[/TD]
[TD="align: center"]Home[/TD]
[TD="align: center"]Away[/TD]
[TD="align: center"]Home[/TD]
[TD="align: center"]Prob[/TD]
[TD="align: center"]Formula[/TD]
[/TR]
[TR]
[TD="align: center"]9[/TD]
[TD="align: center"]4-0[/TD]
[TD="align: center"]W[/TD]
[TD="align: center"]W[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]40.6%[/TD]
[TD]I9: =PWAway*PWAway[/TD]
[/TR]
[TR]
[TD="align: center"]10[/TD]
[TD="align: center"]4-1[/TD]
[TD="align: center"]W[/TD]
[TD="align: center"]L[/TD]
[TD="align: center"]W[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]19.4%[/TD]
[TD]I10: =PWAway*PLAway*PWHome[/TD]
[/TR]
[TR]
[TD="align: center"]11[/TD]
[TD="align: center"]4-1[/TD]
[TD="align: center"]L[/TD]
[TD="align: center"]W[/TD]
[TD="align: center"]W[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]19.4%[/TD]
[TD]I11: =PLAway*PWAway*PWHome[/TD]
[/TR]
[TR]
[TD="align: center"]12[/TD]
[TD="align: center"]4-2[/TD]
[TD="align: center"]W[/TD]
[TD="align: center"]L[/TD]
[TD="align: center"]L[/TD]
[TD="align: center"]W[/TD]
[TD="align: center"][/TD]
[TD="align: center"]2.4%[/TD]
[TD]I12: =PWAway*PLAway*PLHome*PWAway[/TD]
[/TR]
[TR]
[TD="align: center"]13[/TD]
[TD="align: center"]4-2[/TD]
[TD="align: center"]L[/TD]
[TD="align: center"]W[/TD]
[TD="align: center"]L[/TD]
[TD="align: center"]W[/TD]
[TD="align: center"][/TD]
[TD="align: center"]3.1%[/TD]
[TD]I13: =PLAway*PWAway*PLHome*PWHome[/TD]
[/TR]
[TR]
[TD="align: center"]14[/TD]
[TD="align: center"]4-2[/TD]
[TD="align: center"]L[/TD]
[TD="align: center"]L[/TD]
[TD="align: center"]W[/TD]
[TD="align: center"]W[/TD]
[TD="align: center"][/TD]
[TD="align: center"]9.3%[/TD]
[TD]I14: =PLAway*PLAway*PWHome*PWHome[/TD]
[/TR]
</tbody>[/TABLE]
I have named variables defined for the probability of wins and losses at home and on the road. Their current values are:
I'd like to calculate the values in Col I based on the values in each row and in Row 8 (home or away). I currently have formulas that I entered manually. This is highly error-prone. I;d like a generic formulas I can put in I9:I14 that will generate the same calculations.
I assume it is some type or array expression, but I can't get my head around it.
Any suggestions?
Go Warriors!!!
mmm
[TABLE="class: grid, width: 789"]
<tbody>[TR]
[TD="align: center"]C/R[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]D[/TD]
[TD="align: center"]E[/TD]
[TD="align: center"]F[/TD]
[TD="align: center"]G[/TD]
[TD="align: center"]H[/TD]
[TD="align: center"]I[/TD]
[TD="align: center"]J[/TD]
[/TR]
[TR]
[TD="align: center"]7[/TD]
[TD="align: center"][/TD]
[TD="align: center"]Game 3[/TD]
[TD="align: center"]Game 4[/TD]
[TD="align: center"]Game 5[/TD]
[TD="align: center"]Game 6[/TD]
[TD="align: center"]Game 7[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
[TR]
[TD="align: center"]8[/TD]
[TD="align: center"]Results[/TD]
[TD="align: center"]Away[/TD]
[TD="align: center"]Away[/TD]
[TD="align: center"]Home[/TD]
[TD="align: center"]Away[/TD]
[TD="align: center"]Home[/TD]
[TD="align: center"]Prob[/TD]
[TD="align: center"]Formula[/TD]
[/TR]
[TR]
[TD="align: center"]9[/TD]
[TD="align: center"]4-0[/TD]
[TD="align: center"]W[/TD]
[TD="align: center"]W[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]40.6%[/TD]
[TD]I9: =PWAway*PWAway[/TD]
[/TR]
[TR]
[TD="align: center"]10[/TD]
[TD="align: center"]4-1[/TD]
[TD="align: center"]W[/TD]
[TD="align: center"]L[/TD]
[TD="align: center"]W[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]19.4%[/TD]
[TD]I10: =PWAway*PLAway*PWHome[/TD]
[/TR]
[TR]
[TD="align: center"]11[/TD]
[TD="align: center"]4-1[/TD]
[TD="align: center"]L[/TD]
[TD="align: center"]W[/TD]
[TD="align: center"]W[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]19.4%[/TD]
[TD]I11: =PLAway*PWAway*PWHome[/TD]
[/TR]
[TR]
[TD="align: center"]12[/TD]
[TD="align: center"]4-2[/TD]
[TD="align: center"]W[/TD]
[TD="align: center"]L[/TD]
[TD="align: center"]L[/TD]
[TD="align: center"]W[/TD]
[TD="align: center"][/TD]
[TD="align: center"]2.4%[/TD]
[TD]I12: =PWAway*PLAway*PLHome*PWAway[/TD]
[/TR]
[TR]
[TD="align: center"]13[/TD]
[TD="align: center"]4-2[/TD]
[TD="align: center"]L[/TD]
[TD="align: center"]W[/TD]
[TD="align: center"]L[/TD]
[TD="align: center"]W[/TD]
[TD="align: center"][/TD]
[TD="align: center"]3.1%[/TD]
[TD]I13: =PLAway*PWAway*PLHome*PWHome[/TD]
[/TR]
[TR]
[TD="align: center"]14[/TD]
[TD="align: center"]4-2[/TD]
[TD="align: center"]L[/TD]
[TD="align: center"]L[/TD]
[TD="align: center"]W[/TD]
[TD="align: center"]W[/TD]
[TD="align: center"][/TD]
[TD="align: center"]9.3%[/TD]
[TD]I14: =PLAway*PLAway*PWHome*PWHome[/TD]
[/TR]
</tbody>[/TABLE]
I have named variables defined for the probability of wins and losses at home and on the road. Their current values are:
- 84.0% = PWHome
- 16.0% = PLHome
- 63.7% = PWAway
- 36.3% = PLAway
I'd like to calculate the values in Col I based on the values in each row and in Row 8 (home or away). I currently have formulas that I entered manually. This is highly error-prone. I;d like a generic formulas I can put in I9:I14 that will generate the same calculations.
I assume it is some type or array expression, but I can't get my head around it.
Any suggestions?
Go Warriors!!!
mmm