+ Reply to Thread
Results 1 to 6 of 6

Problem using SUMPRODUCT and MATCH to rank golf teams scores if the scores are drawn

Hybrid View

  1. #1
    Registered User
    Join Date
    08-31-2023
    Location
    Tamworth, England
    MS-Off Ver
    Microsoft? Excel? for Microsoft 365 MSO (Version 2307 Build 16.0.16626.20170) 64-bit
    Posts
    52

    Problem using SUMPRODUCT and MATCH to rank golf teams scores if the scores are drawn

    Hi,

    I'm trying to rank scores from a golf team tournament using SUMPRODUCT and MATCH. I've searched through past posts but unable to find a working solution.

    The problem I'm having is when two team scores or more are drawn after 18 holes. The SUMPRODUCT function I've used to rank the teams shows the ranking order correctly (which didn't work using the RANK function) when there is a drawn score, but there is a #N/A error when then using the MATCH function to match the team against it's rank. I understand why this is happening because one of the team matches is not available from the ranking when there is a draw and unfortunately I can't find a way of solving this issue.

    Further, if there is a draw after 18 holes then there is what is called, a 'countback' on the back nine holes and then the back 6 holes if still need to split the teams. I'm having a problem filtering these draws through, from a draw after 18, through to which drawn team then won the back 9 etc. and then finally ranking all teams correctly at the end. I've used increments before to separate drawn teams but in this case it doesn't really work that well as there have been occasions when testing the functionality where the team who actually won after 18 is not longer in 1st position after the countback.

    I hope this all makes sense and I have attached a copy of the spreadsheet to help with the understanding of the problem.

    TIA,

    Chris
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,309

    Re: Problem using SUMPRODUCT and MATCH to rank golf teams scores if the scores are drawn

    The formula refers to a missing sheet:

    =IF(AA13="","",MATCH('https://d.docs.live.net/7089396f7fbb0092/My Documents/Golf/Wishaw/Seniors/[MondayFunCompScoresTest.xlsm]AdminLists'!D7,$AA$8:$AA$15,0))

    Please provide a sample workbook that includes ALL necessary source data.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    08-31-2023
    Location
    Tamworth, England
    MS-Off Ver
    Microsoft? Excel? for Microsoft 365 MSO (Version 2307 Build 16.0.16626.20170) 64-bit
    Posts
    52

    Re: Problem using SUMPRODUCT and MATCH to rank golf teams scores if the scores are drawn

    Ooops. Sorry about that.
    Attached Files Attached Files

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,797

    Re: Problem using SUMPRODUCT and MATCH to rank golf teams scores if the scores are drawn

    With a helper column in W to sum the back 6 you can use this to get the ranking score
    Formula: copy to clipboard
    =SUM(CHOOSECOLS(V2:X2,-1,1,2)*10^SEQUENCE(,3,0,-3))
    and to get the teams in order you can use
    Formula: copy to clipboard
    =SORTBY(B2:B7,Z2:Z7)
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    08-31-2023
    Location
    Tamworth, England
    MS-Off Ver
    Microsoft? Excel? for Microsoft 365 MSO (Version 2307 Build 16.0.16626.20170) 64-bit
    Posts
    52

    Re: Problem using SUMPRODUCT and MATCH to rank golf teams scores if the scores are drawn

    It took me a bit to work out what's happening with the formula but that seems to be a great way of tackling the problem and a way I wouldn't have thought of; so thanks for that.

    Thanks very much.

  6. #6
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,797

    Re: Problem using SUMPRODUCT and MATCH to rank golf teams scores if the scores are drawn

    Glad to help & thanks for the feedback.

+ 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. Adding Net and Adjusted scores to a golf scores page
    By wingram12 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-01-2023, 09:43 AM
  2. [SOLVED] Golf Best Ball Scores for 2 or 3 man teams
    By MarvinP in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-30-2022, 07:56 AM
  3. [SOLVED] Net scores from gross scores at golf, played from different tees
    By FivestarMac in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-25-2016, 12:24 PM
  4. Replies: 8
    Last Post: 12-20-2014, 04:37 PM
  5. [SOLVED] Top 5 Golf Scores with INDEX/MATCH?
    By anare in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-04-2014, 09:02 PM
  6. Golf Scores
    By kathy14 in forum Excel General
    Replies: 6
    Last Post: 07-16-2012, 06:38 PM
  7. Need to sum scores from different teams
    By mattmcg in forum Excel General
    Replies: 2
    Last Post: 05-05-2011, 02:04 PM

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