Soccer Formula

jayjaysb

Board Regular
Joined
Nov 16, 2011
Messages
204
Hi all, Looking for some help with a formula that allocates 3 points for a predicting Home Win, Away Win or Draw, but also allocates 6 points should the person predict the correct score, in the instance below Susan predicted 3-3, which was correct, in turn gets a total of 9 points, 3 for predicting draw and 6 for correct score. Much obliged JJSB

[TABLE="width: 604"]
<tbody>[TR]
[TD]Name[/TD]
[TD="colspan: 2"]Matches[/TD]
[TD="colspan: 2"]Predicted Score[/TD]
[TD][/TD]
[TD="colspan: 2"]Actual Score[/TD]
[TD][/TD]
[TD]Points[/TD]
[/TR]
[TR]
[TD]John[/TD]
[TD]Russia[/TD]
[TD]Saudi Arabia[/TD]
[TD]1[/TD]
[TD]0[/TD]
[TD][/TD]
[TD]3[/TD]
[TD]3[/TD]
[TD][/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]Jim[/TD]
[TD]Russia[/TD]
[TD]Saudi Arabia[/TD]
[TD]1[/TD]
[TD]0[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]Peter[/TD]
[TD]Russia[/TD]
[TD]Saudi Arabia[/TD]
[TD]2[/TD]
[TD]0[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]Mary[/TD]
[TD]Russia[/TD]
[TD]Saudi Arabia[/TD]
[TD]3[/TD]
[TD]0[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]Susan[/TD]
[TD]Russia[/TD]
[TD]Saudi Arabia[/TD]
[TD]3[/TD]
[TD]3[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]Paul[/TD]
[TD]Russia[/TD]
[TD]Saudi Arabia[/TD]
[TD]2[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]Mel[/TD]
[TD]Russia[/TD]
[TD]Saudi Arabia[/TD]
[TD]3[/TD]
[TD]2[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]Connor[/TD]
[TD]Russia[/TD]
[TD]Saudi Arabia[/TD]
[TD]4[/TD]
[TD]2[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]0[/TD]
[/TR]
</tbody>[/TABLE]
 
Last edited:
Another one:

=IF(AND(D2<>"",E2<>"",F2<>"",G2<>""),IF(AND(D2=F2,E2=G2),9,IF(SIGN(D2-E2)=SIGN(F2-G2),3,0)),0)

If the actual score is 3-3 shouldnt Susan be 9?
 
Upvote 0

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Yes Steve, 3 for the win and 6 bonus for predicting correct score, I still cant get it to work, Thanks JJSB
 
Last edited:
Upvote 0
If so then maybe:

=IF(AND((F2=D2),(E2=G2)),9,IF(OR(AND(F2>G2,D2>E2),AND(G2>F2,E2>D2)),3,IF(AND((F2=G2),(E2=D2)),3,IF(AND((F2=E2), (G2=D2)),6,0))))

Just read post below:

ignore this formula
 
Last edited:
Upvote 0
Ah did you want 6 points even if lets say Russia win 2-1 but someone predicted 2-1 to Saudi Arabia?

No Final, If Russia wins 2-1 and someone predicts 2-1 then they get 3 points because Russia win, they will then get an additional 6 points for correctly predicting 2-1, noone will get any points if Saudi beat Russia 2-1 as noone predicted it, I might not be explaining myself too well. Thanks JJSB
 
Upvote 0
Are you only entering the actual score in cells F2 and G2 and not copying it down??
 
Upvote 0
If so its:

=IF(AND(D2<>"",E2<>"",$F$2<>"",$G$2<>""),IF(AND(D2=$F$2,E2=$G$2),9,IF(SIGN(D2-E2)=SIGN($F$2-$G$2),3,0)),0)

but will be a right pain for you to manage for each game as would need a formula change. Think id either drag the result down for each row or create a lookup table of results.
 
Upvote 0
Are you only entering the actual score in cells F2 and G2 and not copying it down??

Steve, I think I might be confusing you all. In cell f2 and g2 thats where the REAL correct score sits. H2 is where I am putting the formula and then dragging it down to H9. Apologies if I am annoying you all. Thanks JJSB
 
Upvote 0
if so its:

=if(and(d2<>"",e2<>"",$f$2<>"",$g$2<>""),if(and(d2=$f$2,e2=$g$2),9,if(sign(d2-e2)=sign($f$2-$g$2),3,0)),0)

but will be a right pain for you to manage for each game as would need a formula change. Think id either drag the result down for each row or create a lookup table of results.

it works!!!!!!! Thanks a million. JJSB
 
Last edited:
Upvote 0
Another approach;

=(SIGN($F$2-$G$2)=SIGN(D2-E2))*3+(D2&E2=$F$2&$G$2)*6
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,329
Members
452,635
Latest member
laura12345

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