HELP.. Need to write a formula

DannyTheo

New Member
Joined
Nov 12, 2009
Messages
6
Hi All,
New to this but i heard this was the place to find answers to my excel questions.
Ok so here is what i am trying to do.
On one sheet it has a table which has the results to football games
On the same sheet it has the peoples predictions
On the second sheet it has a League table.
On the league table i need a forumal that will do the following..
IF person 'Tom' has a Prediction of 2-1 and the result is 2-1 then award 5 points in league table. If result is 2-0 then tom will recieve 3 points and if the result is 2-3 then tom recieves 1 point.
I have been trying if and or then formulas all moring and cant get it to work :( PLEASE HELP
Thanks
Dan
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
Ok

with Tom in A1, and his score forecast in B1 & C1

In e1 & f1, the correct result, and in g1, the points earned


=IF(AND(E1=A1,F1=B1),5,IF(AND(E1>F1,A1>B1),3,IF(E1=A1,1,0)))


I remember around the time of the last world cup, there were a number of really professional league tables produced. You might be able to lift some ideas from one of those
 
Upvote 0
Looking at your formula you dont mention result C1 but you use A1 a few times and if A1 is just the player 'tom' then i dont see why that is used.
Have tried it out on my spreadsheet and it doesnt seem to work :(
I hate this silly thing.. dont know why i told my dad i'd give it a go for him lol
 
Upvote 0
ScottyLad2 thanks for your help but i dont see how this compares the Actual match result to the predictions set.
For example

Liverpool 1 Spurs 0

Tom's Prediction was Liverpool 1 Spurs 1

With our scoring system he would be awarded one point for this as he guessed the liverpool score.

If 'Prediction' = 'Result' & 'Score' Then award 5 points
If 'Prediction' = 'Result' then award 3 points
If 'Prediction' = 'Score' then award 1 point

Getting this into a formula seems to be the hardest thing i have tried to do in excel :( Please help...
 
Upvote 0
oh my god!!!!
I got it working
=if(and(result1=predict1,result2=predict2),5,if(and(result1>result2,predict1>predict2),3,if(and(result1=predict1),1,if(result2=predict2,1,0))))

Now i just have to type that out for the ten games and the 20 players of the prediction league we got going!!!

Thanks to all for your help

Dan
 
Upvote 0

Forum statistics

Threads
1,215,093
Messages
6,123,069
Members
449,090
Latest member
fragment

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