+ Reply to Thread
Results 1 to 9 of 9

Help for my football prediction game

  1. #1
    Registered User
    Join Date
    06-12-2009
    Location
    Manchester, UK
    MS-Off Ver
    Excel 2010
    Posts
    68

    Help for my football prediction game

    Hi all,

    I have devised a football prediction game for my workmates. what i need to know is how i can automate the results.

    so, if i enter the correct score from the game, it will enter how many points the player has got.

    rules are as follows:
    correct score e.g 2-1 is 3 points
    correct result e.g 1-0 but score was 2-1 is 1 point
    0 points for anything else.

    I've made a half-assed botched attempt and managed to get the 3 and 1 point to work (sort of) but not the 0 point.

    i hope you understand what i mean and any help would be massively appreciated.

    Many Thanks,
    1.zer0
    Last edited by 1.zer0; 06-12-2009 at 02:01 PM.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: Help for my football prediction game

    Try this:

    Book1.xls
    Last edited by zbor; 06-12-2009 at 10:38 AM.

  3. #3
    Registered User
    Join Date
    06-12-2009
    Location
    Manchester, UK
    MS-Off Ver
    Excel 2010
    Posts
    68

    Re: Help for my football prediction game

    Brilliant!!! thank you zbor.

    but one little thing, the score would be in 2 different cells so col A, B would be real score col C, D would be prediction for example.

    I'm sorry to be a pain.... does it take much altering??

    thanks a lot!!!!

  4. #4
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: Help for my football prediction game

    No, that's even easier

    So you make:

    =IF(AND(A4=C4;B4=D4);3;IF(SIGN(A4-B4)=SIGN(C4-D4);1;0))

    (replace ; with , if needed)

    First part check if they perfectly match, seconf part look did you guess winner, 0 is everything else

  5. #5
    Registered User
    Join Date
    06-12-2009
    Location
    Manchester, UK
    MS-Off Ver
    Excel 2010
    Posts
    68

    Re: Help for my football prediction game

    i think your avatar says it all!! i should have made it clearer to start with so you didnt have to do all that work!!

    massive thanks mate, very happy now

  6. #6
    Registered User
    Join Date
    06-12-2009
    Location
    Manchester, UK
    MS-Off Ver
    Excel 2010
    Posts
    68

    Re: Help for my football prediction game

    sorry for dp but it says formula error?? i tried changing the ; to , but no luck. sorry im complete noob....


    Found the Edit button, lol.

    got the formula to work but it only results with 1 point or 0 points. there is no 3 points. if the result is correct and the scoreline is correct they both show 1 point instead of 1 or 3 respectively.

    EDIT AGAIN!!
    OMG sorry to waste your time it was my fault. all is working perfectly now.

    Thank you zbor!
    Last edited by 1.zer0; 06-12-2009 at 10:58 AM.

  7. #7
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: Help for my football prediction game

    Please, make thread [solved]

    (Go to first post -> Edit -> Go advanced -> Choose solved from drop down menu)

    Yes, avatar explain all of us sometimes

  8. #8
    Registered User
    Join Date
    06-13-2010
    Location
    Plymouth, England
    MS-Off Ver
    Excel 2010
    Posts
    58

    Re: Help for my football prediction game

    can you post the working link thanks

  9. #9
    Registered User
    Join Date
    06-13-2010
    Location
    Plymouth, England
    MS-Off Ver
    Excel 2010
    Posts
    58

    Re: Help for my football prediction game

    if no prediction score is not entered due non entrant and the correct score equals 0 0 gets 3 points or 2 2 draw the non entered player still scores 1 how do i get a n/a or just blank basically how do enter another default of being of 0 or even a blank cell

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1