EURO 2024 Predictions v Actual score

Axdby

New Member
Joined
Jun 13, 2024
Messages
11
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
  3. Mobile
Cells G1 & H1 are the predicted score. I1 & J1 the actual score. If game finishes with a different score but with the same outcome (Win, Draw or Loss):what is the formula to indicate if I have predicted the correct outcome of a match in N1
 

Attachments

  • IMG_7356.jpeg
    IMG_7356.jpeg
    129.3 KB · Views: 14
Another option
Fluff.xlsm
GHIJKLMN
1PredictionActualCorrect
2HAHAW-D-L
330305
403035
521105
611225
705220
800005
Sheet5
Cell Formulas
RangeFormula
N3:N8N3=(SIGN(G3-H3)=SIGN(I3-J3))*5
 
Upvote 0

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
I have triied both the formulas suggested ( I have set the format for the cell to “Number”), but both formulas display in the cell when I press enter.
You have a third to try now as well :) Do you normally use a comma as the list separator in your formulas with your regional settings? Did you change the format of the cell before you entered the formula?

To return a result that includes exact correctly predicted scores, my suggested formula would be adjusted to this.

Excel Formula:
=IF(OR(AND(G3=H3,I3=J3),AND(G3<H3,I3<J3),AND(G3>H3,I3>J3)),5,0)
 
Upvote 0
FormR - I finally got the formula to produce a result. However, as you will see from my updated sample data, some of the results are incorrect. Any suggestions?
 

Attachments

  • IMG_7359.jpeg
    IMG_7359.jpeg
    219 KB · Views: 3
Upvote 0
some of the results are incorrect
I think you'll need to show us the exact formula you used in that screen shot as the formula I posted in post #12 and the formula from Fluff in post #11 seem to give the results you say you expect.

Book1
GHIJKLMNO
1PredictionActualCorrect
2HAHAPost #11Post #12
3302055
4211200
5214055
6514155
7012355
8010255
9230355
10111155
11100400
Sheet1
Cell Formulas
RangeFormula
N3:N11N3=(SIGN(G3-H3)=SIGN(I3-J3))*5
O3:O11O3=IF(OR(AND(G3=H3,I3=J3),AND(G3<H3,I3<J3),AND(G3>H3,I3>J3)),5,0)
 
Upvote 0
Solution
FormR —— I have now got it working using both your formula and the formula from Fluff. At first when I entered the formulas and pressed enter, the full formula displayed in the cell. What I was doing was copying and pasting your formulas rather than typing them myself. I got it working on Fluff’s formula after I noticed when I copied and pasted, an apostrophe appeared at the beginning of the formula, so I removed it and the formula gave the correct result. I then tried your formula (deleting the apostrophe,,and it also produced the correct result. May i take this opportunity to thank everyone for their suggestions, and help with this. I appreciate it, and also apologise for any confusion I caused. Thank you!
 
Upvote 0

Forum statistics

Threads
1,221,417
Messages
6,159,789
Members
451,589
Latest member
Harold14

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