Forum Discussion
mbaines
Nov 22, 2021Copper Contributor
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...
- Dec 17, 2021
mbaines See attached!
tauqeeracma
Dec 06, 2021Iron 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
- mbainesDec 07, 2021Copper ContributorThank 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.
- tauqeeracmaDec 07, 2021Iron ContributorCan 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- mbainesDec 07, 2021Copper Contributor
tauqeeracma Here is an image of the table - M5 should equal 0, as none of the scores match correctly.