Excel Formula

JohnLJ

New Member
Joined
Feb 7, 2022
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hi I'm stuck trying to work out a formula for the following scenario based on a family competition we run during the six nations:

Each family member tries to predict the weekly scores. Point are then awarded as follows: Two points if you predict the correct winner (or your forecast a drawn game….), two points if you predict the exact number of points each team gains; one point if you correctly predict the number of points each team gains within 5 points either side. You can play one joker each week which doubles your earned score. So for this weeks Irish game:
ABCDEFGHI
1​
Prediction Ireland
Prediction Wales
Actual Irish ScoreActual Welsh ScoreJokerPoints Earned
2​
IrelandvWales2818297Y6

Any assistance gratefully received.

Thanks
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
You can just build in stages eg:

=IF(H2="Y",2,1)*(IF(OR(AND(D2>E2,F2>G2),AND(D2<E2,F2<G2),AND(D2=E2,F2=G2)),2,0)+IF(D2=F2,2,IF(ABS(D2-F2)<=5,1,0))+IF(E2=G2,2,IF(ABS(E2-G2)<=5,1,0)))
 
Upvote 0
Hi & welcome to MrExcel.
How about
Excel Formula:
=(OR(AND(D2>E2,F2>G2),AND(E2>D2,G2>F2),AND(D2=E2,F2=G2))*2+(ABS(D2-F2)<=5))*((H2="Y")+1)
 
Upvote 0

Forum statistics

Threads
1,215,515
Messages
6,125,279
Members
449,220
Latest member
Excel Master

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