Forum Discussion

mbaines's avatar
mbaines
Copper Contributor
Nov 22, 2021
Solved

Excel Points Formula

Hi!

 

I want to see if there's a formula which would work out a points score based off a score prediction matching the actual result: 5 points if it matches exactly, 3 if it matches the result or 1 point if just one side matches (i.e. if the prediction was 3-0 and the score was 3-0 = 5 points, if the score was 2-1 = 3 points, if the score was 0-0 = 1 point). Any ideas?

12 Replies

  • tauqeeracma's avatar
    tauqeeracma
    Iron Contributor

    Hi mbaines 

     

    You may use the below logical formula to achieve your desired results:

    =IF(AND(B5=E5,C5=F5),5,IF(OR((AND(B5>C5,E5>F5)),(AND(B5<C5,E5<F5))),3,1))

    As per my understanding, if predictions for the winning team and scores exactly match, 5 points will be given. If predictions for the winning team matches but with a different score, 3 points will be given. Lastly, if predictions for the winning team do not match, only 1 point will be given.

     

    Please refer to the attached file for your reference. Please let me know if it works for you.

     

    Thanks

    Tauqeer

    • mbaines's avatar
      mbaines
      Copper Contributor
      Thank you so much! I can see the formula works on the attached image but for some reason it is giving me incorrect data in the results column - it is giving me 1 when it should be 0. I have tried typing it out and copy/pasting it with the appropriate cells but it still doesn't seem to work for me.
      • tauqeeracma's avatar
        tauqeeracma
        Iron Contributor
        Can you please attach the file (or some sample data) in which you are pasting the formula and getting incorrect data. I will try to fix it directly in your file.

        Thanks
        Tauqeer

Resources