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

NameMatchesPredicted ScoreActual ScorePoints
JohnRussiaSaudi Arabia10330
JimRussiaSaudi Arabia100
PeterRussiaSaudi Arabia200
MaryRussiaSaudi Arabia300
SusanRussiaSaudi Arabia330
PaulRussiaSaudi Arabia210
MelRussiaSaudi Arabia320
ConnorRussiaSaudi Arabia420

<tbody>
</tbody>
 
Last edited:

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Try:

=IF(AND(D2<>"",E2<>"",G2<>"",H2<>""),IF(OR(AND(D2 < E2,G2 < H2),AND(D2=E2,G2=H2),AND(D2>E2,G2>H2)),IF(AND(D2=G2,E2=H2),9,3),0),0)<e2,g2<h2),and(d2=e2,g2=h2),and(d2></e2,g2<h2),and(d2=e2,g2=h2),and(d2>
 
Last edited:
Upvote 0
Hi Steve, No it's just populating each box with a zero, Thanks JJSB
 
Last edited:
Upvote 0
Yours has empty columns in your opening post! Anyway:

=IF(AND(D2<>"",E2<>"",F2<>"",G2<>""),IF(OR(AND(D2 < E2,F2 < G2),AND(D2=E2,F2=G2),AND(D2>E2,F2>G2)),IF(AND(D2=F2,E2=G2),9,3),0),0)
 
Upvote 0
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

NameMatchesPredicted ScoreActual ScorePoints
JohnRussiaSaudi Arabia10330
JimRussiaSaudi Arabia100
PeterRussiaSaudi Arabia200
MaryRussiaSaudi Arabia300
SusanRussiaSaudi Arabia330
PaulRussiaSaudi Arabia210
MelRussiaSaudi Arabia320
ConnorRussiaSaudi Arabia420

<tbody>
</tbody>
As points column starts from H2 =IF(F2<G2,IF(D2<E2,IF(AND(F2=D2,G2=E2),9,3),0),IF(F2>G2,IF(D2>E2,IF(AND(F2=D2,G2=E2),9,3),0)),IF(D2=E2,IF(AND(F2=D2,G2=E2),9,3),0))


I hope it will work.
 
Upvote 0
Here is my own solution, assuming your table's header row is 1 and your score columns are D, E, F and G:

= INT(AND(D2<>"",E2<>"",F2<>"",G2<>""))*(6*INT(AND(D2 = F2, E2 = G2)) + 3*INT(OR(AND(D2>E2,F2>G2),AND(D2<E2,F2<G2),AND(D2=E2,F2=G2))))
 
Upvote 0
Here is my own solution, assuming your table's header row is 1 and your score columns are D, E, F and G:

= INT(AND(D2<>"",E2<>"",F2<>"",G2<>""))*(6*INT(AND(D2 = F2, E2 = G2)) + 3*INT(OR(AND(D2>E2,F2>G2),AND(D2
<e2,f2<g2),and(d2=e2,f2=g2))))[ quote]
This post (and the formula) got truncated somehow. When I clicked "reply with quote", it did not have the closing quote tag, either and I had to add it in manually. I don't have any editing privleges, unfortunately, as I assume I do not have a high enough post count.</e2,f2<g2),and(d2=e2,f2=g2))))[>
 
Upvote 0
Steve, I am almost there, I input the formula into H2 and copied down, showed all zeros, but when I changed John's score to 3-3 it gave him 9 points (correctly) and then it changed Susan's to 9. Thanks JJSB
 
Upvote 0
Try this:

=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,0)))
 
Upvote 0
Hi Final, that works, but only allocates 3 points for correct score and not 6, if you get me, thanks JJSB
 
Upvote 0

Forum statistics

Threads
1,214,394
Messages
6,119,262
Members
448,880
Latest member
aveternik

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