Golf betting game - Vegas

vanvoord

New Member
Joined
Feb 17, 2019
Messages
5
I'm working on creating a golf scorecard that can keep track of multiple side games. I'm having trouble with one called Vegas or Casino.

In said game, two man teams compete against each other by combining their scores into one number. For example:

Player A = 4
Player B = 5
Team 1 score of 45 (The low number goes first)

Player C = 5
Player D = 6
Team 2 score of 56

Team 1 wins 11 points.

This is all easy enough. The problem I'm having is with some scoring events that can happen that alter the calculations.

1. If a natural birdie or better is scored, it flips the opposing teams score. So their 56 above becomes 65. However, if the other team matches the birdie with their own birdie or net birdie, then there is no flip.

Currently I'm able to get the flip to display when there is a birdie but I can't figure out how to undo the flip if the birdie is matched. Any thoughts on how to do this?
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
Looks to be working:

[TABLE="width: 500"]
<tbody>[TR]
[TD]Par[/TD]
[TD]T1 P1[/TD]
[TD]T1 P2[/TD]
[TD]T2 P1[/TD]
[TD]T2 P2[/TD]
[TD]T1 SCORE[/TD]
[TD]T2 SCORE[/TD]
[TD]WINNER[/TD]
[TD]POINTS[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]4[/TD]
[TD]6[/TD]
[TD]3[/TD]
[TD]7[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

<c2,b2&c2,if(b2><a2,e2<a2),1,0)=1,if(or(b2<a2,c2<a2),1,0)=0),1,0)=1),c2&b2,if(and(if(b2<c2,b2&c2,if(b2><a2,e2<a2),1,0)=1,if(or(b2<a2,c2<a2),1,0)=0),1,0)=1),b2&c2,if(b2<c2,b2&c2,if(b2><c2,b2&c2,if(b2><a2,e2<a2),1,0)=1,if(or(b2<a2,c2<a2),1,0)=0),1,0)=1),c2&b2,if(and(if(b2<c2,b2&c2,if(b2><a2,e2<a2),1,0)=1,if(or(b2<a2,c2<a2),1,0)=0),1,0)=1),b2&c2,if(b2<c2,b2&c2,if(b2><e2,d2&e2,if(d2><a2,c2<a2),1,0)=1,if(or(d2<a2,e2<a2),1,0)=0),1,0)=1),e2&d2,if(and(if(d2<e2,d2&e2,if(d2><a2,c2<a2),1,0)=1,if(or(d2<a2,e2<a2),1,0)=0),1,0)=1),d2&e2,if(d2<e2,d2&e2,if(d2>Edit, can't seem to post the formulas, will PM you.
<c2,b2&c2,if(b2><a2,e2<a2),1,0)=1,if(or(b2<a2,c2<a2),1,0)=0),1,0)=1),c2&b2,if(and(if(b2<c2,b2&c2,if(b2><a2,e2<a2),1,0)=1,if(or(b2<a2,c2<a2),1,0)=0),1,0)=1),b2&c2,if(b2<c2,b2&c2,if(b2>
</a2,e2<a2),1,0)=1,if(or(b2<a2,c2<a2),1,0)=0),1,0)=1),b2&c2,if(b2<c2,b2&c2,if(b2></a2,e2<a2),1,0)=1,if(or(b2<a2,c2<a2),1,0)=0),1,0)=1),c2&b2,if(and(if(b2<c2,b2&c2,if(b2></c2,b2&c2,if(b2></a2,c2<a2),1,0)=1,if(or(d2<a2,e2<a2),1,0)=0),1,0)=1),d2&e2,if(d2<e2,d2&e2,if(d2></a2,c2<a2),1,0)=1,if(or(d2<a2,e2<a2),1,0)=0),1,0)=1),e2&d2,if(and(if(d2<e2,d2&e2,if(d2></e2,d2&e2,if(d2></a2,e2<a2),1,0)=1,if(or(b2<a2,c2<a2),1,0)=0),1,0)=1),b2&c2,if(b2<c2,b2&c2,if(b2></a2,e2<a2),1,0)=1,if(or(b2<a2,c2<a2),1,0)=0),1,0)=1),c2&b2,if(and(if(b2<c2,b2&c2,if(b2></c2,b2&c2,if(b2></a2,e2<a2),1,0)=1,if(or(b2<a2,c2<a2),1,0)=0),1,0)=1),b2&c2,if(b2<c2,b2&c2,if(b2></a2,e2<a2),1,0)=1,if(or(b2<a2,c2<a2),1,0)=0),1,0)=1),c2&b2,if(and(if(b2<c2,b2&c2,if(b2></c2,b2&c2,if(b2>
 
Last edited:
Upvote 0
Maybe this


Excel 2007
ABCDEFGHI
1ParT1 P1T1 P2T2 P1T2 P2T1 SCORET2 SCOREWINNERPOINTS
24463764376427
Sheet1
Cell Formulas
RangeFormula
F2=IF(OR(D2),C2&B2,B2&C2)
G2=IF(OR(B2),E2&D2,D2&E2)
H2=IF(F2>G2,F2,G2)
I2=IF(H2=F2,H2-G2,H2-F2)
 
Last edited:
Upvote 0
@mrshl9898
I'm guessing you are having formula problems, because of the Less than signs.....they need a space either side of them otherwise they are read as HTML tags
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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