IF formula problem

DazRogers

New Member
Joined
Sep 26, 2013
Messages
1
:confused:Hi,

Please can somebody help me.

I run a football (soccer) predictions competition at work and need some help with an IF formula to calculate our points system rather than manually adding them up.

There is a 3 point scoring system that we use. For a correctly predicted scoreline (eg predict 1-1 and the actual score is 1-1) you are awarded 5 points, for a correct result and one correct number of goals for one of the teams (eg predicted 2-0 home win but the actual score was 1-0 home win) you are awarded 4 points and for a correct result only with neither of the number of goals for either team predicted correctly (eg home win, draw or away win) you are awarded 3 points.

The cells in use are:

A3 Home team name
B3 Actual Home team goals scored
C3 Versus
D3 Actual Away team goals scored
E3 Away team name
G3 Predicted home team goals scored
H3 Versus
I3 Predicted away team goals scored

I look forward to your help.

Many Thanks
Darren
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
Give this a whirl....

Code:
=IF(OR(AND(B3>D3,F3>H3),AND(B3 less than D3,F3 less than H3)),IF(AND(B3=F3,D3=H3),5,IF(OR(B3=F3,D3=H3),4,3)),0)
<D3,F3<H3)),IF(AND(B3=F3,D3=H3),5,IF(OR(B3=F3,D3=H3),4,3)),0)[ html QUOTE]<>
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,552
Messages
6,179,484
Members
452,917
Latest member
MrsMSalt

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