Excel Formula for Football Scores

Solved
Hello,

I want to set up automatic scores for LOTO FOOT but I don't know how to create a formula with soccer scores in the format => x-x=> 0-0

Do you have any ideas?

Thank you
Configuration: Windows XP Internet Explorer 6.0

19 answers

  • Votes
  • Date
  • Descending date
  1. cool
    1. And what's that you say...
      =IF(AND(A2=C2,B2=D2),3,IF(AND(A2>B2,C2>D2),1,IF(AND(A2=B2,C2=D2),1,IF(AND(A2<b2 />
  2. Hello,
    let G3, H3 be the two teams
    the points awarded by the following formula are: 2 points for a draw, 1 point for losing, 4 points for winning
    =IF(AND(ISNUMBER(G3),ISNUMBER(H3),G3=H3),2,IF(AND(ISNUMBER(G3),ISNUMBER(H3),G3

    H3),4,""))
    I hope this will work for you.

    1. Thank you for your help but I don't see how you take into account the score format.

      Example:

      If the match is won with the exact result => 3 points, if won but the result is not exact then 1 point, otherwise 0 points

      MATCH SCORE LOTO FOOT
      Arsenal/Chelsea 0-0 0-1
      REAL/MILAN 1-0 2-1
      Liverpool/Reds 1-2 0-2
      1. =IF(AND(ISNUMBER(G3),ISNUMBER(H3),G3=H3),0,IF(AND(ISNUMBER(G3),ISNUMBER(H3),G3

        H3),2,""))
        remplace les points d'interrogation de la formule ci-dessus par le nombre de points affectés en cas de =, <, >
        G3 et H3 sont les équipes.
        une première formule te donne le nombre de points attribué à l'équipe G3
        une seconde formule où tu intervertis H3 et G3 te donne le nombre de points attribué à l'équipe H3

        Arsenal/Chelsea 0-0 0-1 match nul donne 0pt pour l'équipe qui reçoit 1pt pour l'autre?
        REAL/MILAN 1-0 2-1 match gagné donne 2pts pour l'équipe qui reçoit 1pt pour l'autre?
        liver/reds 1-2 0-2 match perdu donne 0pt pour l'équipe qui reçoit 2pts pour l'autre?

      2. Salut chtilou, je me permets de t'écrire car je vois que tu connais pas mal Excel. J'aimerais savoir si tu pourrais voir cette vidéo https://m.youtube.com/watch?v=mUO2wPNthAw et si tu peux voir quelles sont toutes les formules que la personne utilise s'il te plaît. Si tu peux me répondre sur mon mail ***@***.
    2. but how can you compare a result in the following format 0-1 how will excel understand?
      1. Start from the beginning, I'm not sure I fully understand your needs.
    3. I want to be able to enter a score in this format in a cell 0-1
      and compare it to another score (lotto foot forecast) to assign points based on the results.

      Example:

      France/Italy => score = 0-1 lotto foot = 0-2 so the bettor gets a point because Italy wins but with a different score.

      I want to be able to assign these points using an Excel formula.
      1. you need to use one cell per score (so in this case 4) and not one cell per match result.
    4. Yes, it's a score per cell. If you have an email, I'll send you the file for better understanding.
      1. the formula I gave you remains valid.

        columns A and B: match result

        columns C and D: prediction

        column E: thanks to this formula
        =IF(AND(ISNUMBER(A1),ISNUMBER(B1),A1=B1),1,IF(AND(ISNUMBER(A1),ISNUMBER(B1),A1<B1),0,IF(AND(ISNUMBER(A1),ISNUMBER(B1),A1>B1),2,""))
        draw = 1, lost match = 0, won match = 2

        column F: thanks to this formula
        =IF(AND(ISNUMBER(C1),ISNUMBER(D1),C1=D1),1,IF(AND(ISNUMBER(C1),ISNUMBER(D1),C1<D1),0,IF(AND(ISNUMBER(C1),ISNUMBER(D1),C1>D1),2,""))
        draw = 1, lost match = 0, won match = 2

        column G =IF(E1=F1,1,0)

        you can then hide columns E and F
    5. lolllllll no I'm doing it right now

      But alas it doesn't work

      Match Score prediction Points
      Bordeaux - Nancy 2 1 2 0 1
      Valenciennes - Lyon 1 2 1 1 0
      Sochaux - Nice 1 0 1 1 0
      Le Mans - Caen 1 1 0 0 1
      Lille - Auxerre 0 2 2 0 0
      Metz - Toulouse 0 2 1 0 0
      Lorient - Marseille 1 2 1 0 0

      If the prediction is correct but the score is not exact then 1 point, if the score is exact then 3 points, otherwise 0 points.
      1. Hi,
        I’m going to end up knowing how to play sports betting.
        I’m looking at it based on this NEW piece of information.
      2. @chtilouWe were at column G.
        So H
        =IF(AND(A1=C1,B1=D1),2,0)
        And column I
        =SUM(G1+H1)
        Hide E, F, G, H and this time I believe we're good. Unless changes, of course...
    6. What I don't understand is why we need to make several formulas:

      Let me explain

      to understand well I will put the cells:

      -----Result A1 B1--------- Prediction C1 D1
      --------------------2 1 -------------------- 3 1
      so we get 1 point because the match is won but the result is inaccurate.

      Points in cell => E1
      =IF(AND(A1=C1;B1=D1;3);IF(AND(A1>C1;B1>D1);1);IF(AND(A1<c1 />

      This one still doesn't work very well.
      1. Je suis là pour vous aider avec des traductions. Veuillez fournir le texte que vous souhaitez traduire.
    7. Give me your email and I'll send you my file and you'll see.
      1. Here comes my little Madjon
        =IF(AND(A1=C1,B1=D1),3,IF(AND(A1>B1,C1>D1),1,IF(AND(A1<b1 />then... happy..?
    8. But that's how I went about it, and I just did it again like you and it still doesn't work; I'm about to admit defeat by Excel

      For your information, I am male lol
      1. Here are the 2 formulas (1=you, 2=me)

        IF(AND(A1=C1,B1=D1,3),IF(AND(A1>C1,B1>D1),1),IF(AND(A1<c1 />IF(AND(A1=C1,B1=D1),3,IF(AND(A1>B1,C1>D1),1,IF(AND(A1<b1 />
        At my place, it works without any problems ;-(
        1. Yes, but it doesn't work on all tests

          -----Result --A1 B1--------- Prediction C1 D1
          --------------------0 2 -------------------- 2 0
          therefore, we get 0 points because the match is lost

          Try it, you'll see
          1. why should we get what?
          2. Keep me posted. See you later.
        2. We get 1 when we should get 0 since the match is lost

          Reminder:

          Match won with the exact score = 3 points, won but incorrect score = 1 point and all other cases = 0 points
          1. Hi,
            try copying / pasting this formula in cell E1
            =IF(AND(A1=C1,B1=D1),3,IF(AND(A1>B1,C1>D1),1,IF(AND(A1<b1 />I just did it on a blank document and it works.
            (Match won with the exact score = 3 points, won but incorrect score = 1 point, and all other cases = 0 pts)=OK
        3. Yes, it's better now but it still doesn't handle all the tests:

          I've just noticed that when a match ends in a tie but with an incorrect score, it gives 0 instead of 1, even though we should get 1 since the match is tied.

          Illustration:

          -----Result --A1 B1--------- Prediction C1 D1
          --------------------1 1 -------------------- 2 2

          To solve this problem, I added this series => if(and(a1-b1=0;c1-d1=0);1;0) but it only works when the tie is correct but the score is exact.

          But also in this case it doesn't work

          -----Result --A1 B1--------- Prediction C1 D1
          --------------------0 --0 -------------------0-- 1

          I hope I'm not being a burden.
          1. Don't worry, I like it... lol
        4. Perfect, it works, at least I've tested it in several cases and there are no errors.

          What do you do in life? Do you know a bit about VBA programming?
          1. Sorry, not at all.
            Anyway, I'm glad for you that it's going well.