+ Reply to Thread
Results 1 to 5 of 5

Sports League Head to Head Tie Breaker causing circular references

  1. #1
    Registered User
    Join Date
    03-12-2021
    Location
    New Orleans, Louisiana
    MS-Off Ver
    2016
    Posts
    5

    Sports League Head to Head Tie Breaker causing circular references

    Hello all,

    Im currently working on sports league standings table that auto-updates as scores are entered each week.(Attached)

    Im supposed to be ranking the teams based on these criteria below, but I have only been successfully accomplishing this by manually adjusting the standings when Head to Head tie breakers are necessary. If the teams havent played yet or are not tied in the points column the standings work correctly.

    1. Points(For Wins & Ties)
    2. Head To Head Result
    3. Conference Wins
    4. Runs Allowed (Less Runs are ranked higher)

    I have worked out a formula in column Q that does a check of the current standings (Without H2H) to see if the in the team in the row is tied in points and has won a game against the team currently ranked above them. If so, a "1" is displayed, if not a "0".

    I was hoping to use this 1 value that was output by the formula and add it back into the ranking calculations to correctly display my rankings based on all the criteria above. But this causes a circular reference in my calcs.

    Does anyone have any idea on how to get around this problem? I would greatly appreciate it.

    Thanks.
    Last edited by GHURST2; 06-05-2021 at 11:35 AM.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,696

    Re: Sports League Head to Head Tie Breaker causing circular references

    It's not really an Excel problem. The problem is that the logic you are trying to use is circular logic. You are trying to use the current standings to determine if head-to-head is 1, and then are you using whether head-to-head is 1 to determine the current standings. What you really need is two-step logic that may require a macro.

    Can you walk through the logic you are using to determine the standings?
    Jeff
    | | |·| |·| |·| |·| | |:| | |·| |·|
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    03-12-2021
    Location
    New Orleans, Louisiana
    MS-Off Ver
    2016
    Posts
    5
    The way I currently rank the teams uses a single formula looking at three different columns. Points, Conf Wins, and Runs against.

    I use the as formula like this

    Rank points=(Points*1000)+ (Conf Wins*100) - Runs Against

    Then I rank the teams from largest to smallest by the rank point column

    I thought about having a different stage of rankings for each criteria, but couldn’t quite tailor the formula to something that works

  4. #4
    Registered User
    Join Date
    03-12-2021
    Location
    New Orleans, Louisiana
    MS-Off Ver
    2016
    Posts
    5

    Re: Sports League Head to Head Tie Breaker causing circular references

    I figured it out. All it took was a secondary version of my standings and ran the calculations off that one and used a final version to display everything put together

  5. #5
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,696

    Re: Sports League Head to Head Tie Breaker causing circular references

    That works. I would think you would have to copy the final version back to the original for the next round.

+ 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. League Table Based on Head to Head results
    By darkblueblood in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-16-2023, 07:10 AM
  2. [SOLVED] Conditional formatting? if 3 teams head to head? Need highlight it
    By micope21 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-09-2016, 04:55 AM
  3. Breaking ties in a head to head contest
    By cklemme in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 01-28-2014, 01:06 AM
  4. How to account for head to head matchup in Excel with other tie breakers
    By Biogeek1 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-26-2013, 05:18 PM
  5. Head to Head (Tiebreakers) in Champions League
    By jovisb1993 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 10-26-2013, 06:50 PM
  6. Calculate average of last two outcomes of last two head-to-head clashes
    By wishkey in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-07-2013, 08:17 AM
  7. Ranking a league table by head to head results
    By pajc72 in forum Excel General
    Replies: 1
    Last Post: 09-02-2011, 07:02 AM

Tags for this Thread

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