+ Reply to Thread
Results 1 to 4 of 4

Predictor Formula

  1. #1
    Registered User
    Join Date
    05-24-2016
    Location
    England
    MS-Off Ver
    2010
    Posts
    6

    Predictor Formula

    Hello all,

    I'm seeking some help I'm what you call an Excel idiot!

    I'm running a Euro 2016 Predictor and I've got the rules below set in place:

    10 Point's awarded for predicting the correct result and the correct score for both teams.

    7 Points awarded for predicting the correct result and the correct score for only 1 of the teams.

    5 Points awarded for a correct result, but the wrong score for both teams.

    2 Points awarded for the wrong result, but the correct score for 1 of the teams.


    So the formula I'm using is this:

    =IF(COUNT('Fixtures & Results'!$G6:'Fixtures & Results'!$H6,'Sheet4'!G6:H6)=4,(2*OR('Fixtures & Results'!$G6='Sheet4'!G6,'Fixtures & Results'!$G6='Sheet4'!H6))+(5*(SIGN('Fixtures & Results'!$G6-'Fixtures & Results'!$H6)=SIGN('Sheet4'!G6-'Sheet4'!H6)))+(3*AND('Fixtures & Results'!$G6='Sheet4'!G6,'Fixtures & Results'!$H6='Sheet4'!H6)),"")

    Which I copied from another sheet we run when the season is on. I just amended it for my needs.

    Basically my question is, is there anything obvious to show why this doesn't work correctly.

    I get the 10 points for the correct score so I know that bit is working but the rest doesn't.

    Can anyone please be a massive help.

    I really appreciate it.

    Many Thanks

    Michael

  2. #2
    Valued Forum Contributor
    Join Date
    01-08-2011
    Location
    Portsmouth, England
    MS-Off Ver
    Excel 2007 to 2016
    Posts
    456

    Re: Predictor Formula

    It's difficult to say without seeing how your data is laid out.

    Could you upload a sample of your workbook - just a small sample will be fine (desensitized) with some examples of the results (manually entered if need be)?

    To attach a workbook, click on the Advanced button, then scroll down to "manage attachments". You can then select and load your file.
    Excel is a constant learning process and it's great to help each other. If any of us have helped you today, a click on the "reputation" star on the left is appreciated.

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,309

    Re: Predictor Formula

    Try

    =IF(COUNT('Fixtures & Results'!$G6:$H6,Sheet4!$G6:$H6)=4,IF(AND(SIGN('Fixtures & Results'!$G6-'Fixtures & Results'!$H6)=SIGN(Sheet4!$G6-Sheet4!$H6)),IF(AND('Fixtures & Results'!$G6=Sheet4!$G6,'Fixtures & Results'!$H6=Sheet4!$H6),10,IF(OR('Fixtures & Results'!$G6=Sheet4!$G6,'Fixtures & Results'!$H6=Sheet4!$H6),7,5)),IF(OR('Fixtures & Results'!$G6=Sheet4!$G6,'Fixtures & Results'!$G6=Sheet4!$H6),2,"")))

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Predictor Formula

    Another way:

    A
    B
    C
    D
    E
    F
    1
    Home - Pred
    Away - Pred
    Home - Actual
    Away - Actual
    Points
    2
    0
    0
    0
    0
    10
    E2: =IF(COUNT(A2:D2) <> 4, "", INDEX({0,2,5,7,10}, 2*(SIGN(A2-B2) = SIGN(C2-D2)) + (A2=C2) + (B2=D2) + 1))
    3
    0
    0
    0
    1
    2
    4
    0
    0
    1
    0
    2
    5
    0
    0
    1
    1
    5
    6
    0
    1
    0
    0
    2
    7
    0
    1
    0
    1
    10
    8
    0
    1
    1
    0
    0
    9
    0
    1
    1
    1
    2
    10
    1
    0
    0
    0
    2
    11
    1
    0
    0
    1
    0
    12
    1
    0
    1
    0
    10
    13
    1
    0
    1
    1
    2
    14
    1
    1
    0
    0
    5
    15
    1
    1
    0
    1
    2
    16
    1
    1
    1
    0
    2
    17
    1
    1
    1
    1
    10
    Last edited by shg; 05-29-2016 at 02:53 PM.
    Entia non sunt multiplicanda sine necessitate

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] IF & AND Functions - Correct Score Predictor
    By johnmcluckie23 in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 06-02-2018, 02:41 AM
  2. DFS Football Predictor Model
    By jester2itrfe in forum Excel General
    Replies: 1
    Last Post: 09-22-2015, 08:34 PM
  3. Linest maximum predictor variables
    By varat_pond in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-08-2015, 07:57 AM
  4. Replies: 2
    Last Post: 06-15-2015, 10:26 AM
  5. Football Predictor
    By EMcK in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-27-2014, 08:17 PM
  6. NRL Ladder Predictor
    By ExcelSipi in forum Excel General
    Replies: 2
    Last Post: 04-05-2014, 03:03 AM
  7. Football League Predictor Workbook
    By oliverhj in forum Excel General
    Replies: 5
    Last Post: 08-17-2010, 10:27 AM

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