Soccer pools league table

gabtab

New Member
Joined
Sep 10, 2011
Messages
2
I am looking to create a football pools league table for work and have come across a problem. I want to award 3 points if a person predicts the score exactly which is the easy part. I just enter the score in a cell and do an if statement =IF(B2=C2,3,0). My problem is I want to award 1 point if the result is predicted but not the exact score. So if I say predict 2-2 and the result is 3-3 or if I predict 1-2 and the score is 2-4 I want to award a point. Can someone please help me? Thanks
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
Hi,

To make it simpler you can split your score across 4 columns (i.e. B/C with the Home/Away predicted goals, and D/E with the actual goals, and then try this:

PHP:
=IF(AND(B2=D2,C2=E2),3,IF(AND(B2<C2,D2<E2),1,IF(AND(B2>C2,D2>E2),1,IF(AND(B2=C2,D2=E2),1,0))))

The first if statement returns 3 points for an exact match, the second two return 1 point for a correct result (but not exact score) where one of the teams won, and the third for a correct result (but not exact score) where they drew.
 
Last edited:
Upvote 0
You could also use SIGN function to simplify that further, i.e.

=IF(AND(B2=D2,C2=E2),3,IF(SIGN(B2-C2)=SIGN(D2-E2),1,0))
 
Upvote 0

Forum statistics

Threads
1,224,522
Messages
6,179,299
Members
452,904
Latest member
CodeMasterX

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top