Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I'm trying to do an Excel spreadsheet to work out the points awarded to the
participants of a Fantasy Football League (where you predict match scores and get points based on the actual match result). I expect this has been done many times using Excel but I wanted to have a go anyway! I'm having problems evaluating part of the formula which works out the points for each match. The part in question should evaluate if the predicted result is correct but the score is not whether a home win, away win or a draw. This is proving much harder to do than I thought when I said I'd try and do it! The scoring system will be 4 points if the result and score is predicted correctly, 2 points if a draw is predicted but the score is incorrect and 1 point if the result is correct (apart from a draw) but the score is wrong. The spreadsheet would have 4 columns for entering the predictions and the results. Columns A and B would be for the home team and away teams predicted score and columns C and D for the actual scores. Does anyone have a clue what I'm even talking about - or hopefully have any solutions? The more I think about it the more it's frying my brain :-) |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Let me see if I get this.
Say you have ---A----B----C----D 1--2---5----3----4 2--1---1----3----3 So the first row is saying I predict the away team wins 5 to 2. The outcome was the away team won 4 to 3. So in cell E or wherever you want you can right up a formula. =IF(AND(A1=C1,B1=D1),4,IF(AND(A1=B1,C1=D1),2,IF(OR (AND(A1B1,C1D1),AND(A1<B1,C1<D1)),1,0))) If you put this formula in cell E1 or wherever you start the scores and then copy and paste it down to the bottom it will evaluate all the games and give you the scores. "gavin" wrote: I'm trying to do an Excel spreadsheet to work out the points awarded to the participants of a Fantasy Football League (where you predict match scores and get points based on the actual match result). I expect this has been done many times using Excel but I wanted to have a go anyway! I'm having problems evaluating part of the formula which works out the points for each match. The part in question should evaluate if the predicted result is correct but the score is not whether a home win, away win or a draw. This is proving much harder to do than I thought when I said I'd try and do it! The scoring system will be 4 points if the result and score is predicted correctly, 2 points if a draw is predicted but the score is incorrect and 1 point if the result is correct (apart from a draw) but the score is wrong. The spreadsheet would have 4 columns for entering the predictions and the results. Columns A and B would be for the home team and away teams predicted score and columns C and D for the actual scores. Does anyone have a clue what I'm even talking about - or hopefully have any solutions? The more I think about it the more it's frying my brain :-) |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() "akphidelt" wrote in message ... Let me see if I get this. Say you have ---A----B----C----D 1--2---5----3----4 2--1---1----3----3 So the first row is saying I predict the away team wins 5 to 2. The outcome was the away team won 4 to 3. So in cell E or wherever you want you can right up a formula. =IF(AND(A1=C1,B1=D1),4,IF(AND(A1=B1,C1=D1),2,IF(OR (AND(A1B1,C1D1),AND(A1<B1,C1<D1)),1,0))) If you put this formula in cell E1 or wherever you start the scores and then copy and paste it down to the bottom it will evaluate all the games and give you the scores. Thanks so much for that. I've just tried it on my home PC where I'm running Open Office and I'm getting a #Name? error - I don't know if that is peculiar to OO? I'm just about to fire up my work laptop which has Excel on it and I'll report back. Thanks again for your time. |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
No problem for the help. Im not very familiar with Open Office. I tested it
on an excel sheet and it worked perfectly. Let me know if you have any problems in the actual excel sheet. "gavin" wrote: "akphidelt" wrote in message ... Let me see if I get this. Say you have ---A----B----C----D 1--2---5----3----4 2--1---1----3----3 So the first row is saying I predict the away team wins 5 to 2. The outcome was the away team won 4 to 3. So in cell E or wherever you want you can right up a formula. =IF(AND(A1=C1,B1=D1),4,IF(AND(A1=B1,C1=D1),2,IF(OR (AND(A1B1,C1D1),AND(A1<B1,C1<D1)),1,0))) If you put this formula in cell E1 or wherever you start the scores and then copy and paste it down to the bottom it will evaluate all the games and give you the scores. Thanks so much for that. I've just tried it on my home PC where I'm running Open Office and I'm getting a #Name? error - I don't know if that is peculiar to OO? I'm just about to fire up my work laptop which has Excel on it and I'll report back. Thanks again for your time. |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() "akphidelt" wrote in message ... No problem for the help. Im not very familiar with Open Office. I tested it on an excel sheet and it worked perfectly. Let me know if you have any problems in the actual excel sheet. Just tested on Excel on my laptop and it works perfectly. It didn't turn out to be anywhere near as complicated as I feared - isn't that often the way??? Thank you so much for your time - it really is appreciated. I doubt I would ever have got this working on my own! |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Wow, glad it worked out. Yea it's amazing how things can be figured out in
excel. What's funny is some guys on here can probably do that same exact equation that's half the size of mine. "gavin" wrote: "akphidelt" wrote in message ... No problem for the help. Im not very familiar with Open Office. I tested it on an excel sheet and it worked perfectly. Let me know if you have any problems in the actual excel sheet. Just tested on Excel on my laptop and it works perfectly. It didn't turn out to be anywhere near as complicated as I feared - isn't that often the way??? Thank you so much for your time - it really is appreciated. I doubt I would ever have got this working on my own! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Please help me win my fantasy football league by answering this excel ? | Excel Worksheet Functions | |||
need help setting up our fantasy football league schedule | Excel Discussion (Misc queries) | |||
need a formula which calculates points for a predictions league | Excel Discussion (Misc queries) | |||
Fantasy Football | Excel Discussion (Misc queries) | |||
Fantasy Football Datbase or Formula | Excel Discussion (Misc queries) |