+ Reply to Thread
Results 1 to 10 of 10

Football (soccer) predictions

  1. #1
    Registered User
    Join Date
    05-31-2018
    Location
    Belgium
    MS-Off Ver
    2010
    Posts
    3

    Football (soccer) predictions

    Hi,

    I'd like to organize a prediction game for the group stage of the upcoming world cup.

    I'd like to have a formula that would automatically attribute points. I don't want to do it manually as it would take me forever.
    Could you help me create a formula in excel that would give:

    1. 4 points for the exact score,
    2. 2 points if the winner is found with the correct goal difference (ex 3-1 predicted vs 2-0 actual). Tie games would not result in 2 points.
    3. 1 point if the winner or tie game was predicted.
    4. 0 point for a bad prediction.

    Thank you!!

    Matt
    Attached Files Attached Files
    Last edited by Mattcraig; 05-31-2018 at 08:34 AM.

  2. #2
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Re: Football (soccer) predictions

    Good afternoon Mattcraig

    Welcome to the forum.

    Would you please upload what you already have - any formula you are given is going to rely on what cells contain what data.
    To upload a file, click on "Go Advanced" below your reply window and go into Manage Attachments.

    DominicB

  3. #3
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Football (soccer) predictions

    On the assumption of

    A3 Predicted home score
    B3 Predicted away score
    C3 Actual home score
    D3 Actual away score

    =IF(COUNT(A3:D3)=4,IF(AND(A3=C3,B3=D3),4,IF(AND((A3-B3)=(C3-D3),A3<>B3),2,IF(OR(AND(A3=B3,C3=D3),AND(A3>B3,C3>D3)),1,0))),"")

    I'm not a fan of long nested IF formulas, but given the criteria, I think it might be the easiest way to do this.

  4. #4
    Registered User
    Join Date
    05-31-2018
    Location
    Belgium
    MS-Off Ver
    2010
    Posts
    3

    Re: Football (soccer) predictions

    Hi DominicB,

    thanks for the tip!

    Matthias

  5. #5
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Football (soccer) predictions

    Revised formula based on your sample file.

    =IF(COUNT(D2:E2,Results!E2:F2)=4,IF(AND(Results!E2=D2,Results!F2=E2),4,IF(AND((Results!E2-Results!F2)=(D2-E2),Results!E2<>Results!F2),2,IF(OR(AND(Results!E2=Results!F2,D2=E2),AND(Results!E2>Results!F2,D2>E2)),1,0))),"")

    File reattached with the formula in your commented cell. Note that the cell will stay blank until predicted score and actual result have been entered.

    Hope this helps.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    05-31-2018
    Location
    Belgium
    MS-Off Ver
    2010
    Posts
    3

    Re: Football (soccer) predictions

    Hi Jason,

    it works perfectly, thanks so much!!

    Matt

  7. #7
    Registered User
    Join Date
    06-05-2018
    Location
    UK
    MS-Off Ver
    Excel 2013
    Posts
    2

    Re: Football (soccer) predictions

    Hi guys (new user here).

    I am trying to set up something similar to the original post and found the formula most useful - thank you.

    However I think there may be an error - if an away team wins and the prediction is an away win (but with a 2 or greater goal difference error) then 0 points are returned rather than 1 point.
    Example:
    Actual score 0 - 1
    Predicted score 0 - 3

    Zero points returned.

    Thanks in advance for any help!

  8. #8
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Re: Football (soccer) predictions

    Good morning Bbobb78

    Welcome to the forum.

    Unfortunately your post does not comply with Rule 2 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.

  9. #9
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Football (soccer) predictions

    I disagree with you, dominincb.

    Although presented as a question, Bbobb78 has highlighted a problem with the solution provided to the original question that had previously gone unnoticed, therefore providing a useful contribution to the thread.

    For the benefit of the OP, or anyone else who may be looking at this thread for information, here is an updated formula

    =IF(COUNT(D2:E2,Results!E2:F2)=4,IF(AND(Results!E2=D2,Results!F2=E2),4,IF(AND((Results!E2-Results!F2)=(D2-E2),Results!E2 <> Results!F2),2,IF(OR(AND(Results!E2=Results!F2,D2=E2),AND(Results!E2 > Results!F2,D2 > E2),AND(Results!E2 < Results!F2,D2 < E2)),1,0))),"")

  10. #10
    Registered User
    Join Date
    06-05-2018
    Location
    UK
    MS-Off Ver
    Excel 2013
    Posts
    2

    Re: Football (soccer) predictions

    Hi dominicb, thanks for the welcome. Apologies for the confusion caused by my post, I will start a new thread and provide a link as you suggest in the future.

    Hi jason.b75 - Thanks for the updated formula, works a treat....greatly appreciated (saved my hair from being torn out!!)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Football Predictions
    By dpnuk1978 in forum Excel General
    Replies: 5
    Last Post: 11-22-2016, 11:26 AM
  2. Football Predictions League
    By bla666w in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-24-2013, 01:19 PM
  3. Football Predictions Excel Help
    By 8balluk in forum Excel General
    Replies: 4
    Last Post: 07-18-2013, 07:47 PM
  4. Football Predictions
    By keawyed in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-18-2008, 05:15 AM
  5. Football (soccer) predictions formula
    By genius7082 in forum Excel General
    Replies: 4
    Last Post: 08-12-2008, 10:05 PM
  6. Football Predictions...yet again
    By keawyed in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-20-2008, 08:04 PM
  7. Football Predictions League
    By keawyed in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-31-2008, 09:12 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1