Forum Discussion
Excel Points Formula
- Dec 17, 2021
mbaines See attached!
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
- 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.
- tauqeeracmaDec 10, 2021Iron Contributor
Hi mbaines
I have modified the formula and updated the attached revised file for you. Hope this will help you.
=IF(AND(C5=$K5,D5=$L5),5,IF(AND(C5<>$K5,D5<>$L5),0,IF(OR(AND(C5=$K5,$K5>$L5),AND(D5=$L5,$K5<$L5)),3,1)))
In case of different requirements, please specify it in the criteria section, I will adjust accordingly.
Thanks
Tauqeer