+ Reply to Thread
Results 1 to 28 of 28

HELP: Finding Person's Highest 6 Scores from Range

  1. #1
    Registered User
    Join Date
    08-09-2017
    Location
    Sydney
    MS-Off Ver
    Office for Mac 16.79.1
    Posts
    17

    HELP: Finding Person's Highest 6 Scores from Range

    Hi,

    I need help trying to figure out the best way to achieve what I want.

    I have a spreadsheet with two sheets.
    The first sheet is a summary page, with names of people and a column that ultimately should TOTAL the person's highest 6 scores inside a 2 year period.

    The second sheet is where all the scores are kept.

    Each tournament has 3 columns. Place, Name, Score.

    I need the forumla in the summary sheet, to identify the name of the competitor, then look into the scores sheet and find and then total the highest 6 scores attributed to that player.
    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 (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,719

    Re: HELP: Finding Person's Highest 6 Scores from Range

    Your dataset isn't really big enough to be clear. Are the event results always listed in rank order? The layout of your data is really not optimal for this kind of thing.
    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.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    08-09-2017
    Location
    Sydney
    MS-Off Ver
    Office for Mac 16.79.1
    Posts
    17

    Re: HELP: Finding Person's Highest 6 Scores from Range

    Yes the results are always listed in rank order. 1st to last.

    Unfortunately I cannot think of a better way to display the data.
    Each event the competitors might change. So we need to list competitors and their results for each event.

  4. #4
    Valued Forum Contributor PFDave's Avatar
    Join Date
    05-17-2012
    Location
    Milton Keynes, England
    MS-Off Ver
    Excel 2013
    Posts
    1,067

    Re: HELP: Finding Person's Highest 6 Scores from Range

    I'm unable to download your sample spreadsheet but I've attached an example workbook which might help point you into the right direction.

    C1 is the name you're looking for, D1 is the sum of top 6 results, A1:B32 is the data range
    Please do add reputation where you see fit, it's nice to be nice and we all enjoy a pat on the back

    Please also mark your thread as solved once it has been.

  5. #5
    Valued Forum Contributor PFDave's Avatar
    Join Date
    05-17-2012
    Location
    Milton Keynes, England
    MS-Off Ver
    Excel 2013
    Posts
    1,067

    Re: HELP: Finding Person's Highest 6 Scores from Range

    Quote Originally Posted by Tommyslats View Post
    Yes the results are always listed in rank order. 1st to last.

    Unfortunately I cannot think of a better way to display the data.
    Each event the competitors might change. So we need to list competitors and their results for each event.
    This sounds like you don't have this in a usual table.

    You should only need a Table with the fields for:

    Event
    Competitor
    Score
    Rank

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,719

    Re: HELP: Finding Person's Highest 6 Scores from Range

    In the original file, Dave's formula would be this:

    =SUMPRODUCT(LARGE(IF(Scores!$B$2:$AC$3=A2,Scores!$C$2:$AD$3),{1,2,3,4,5,6}))

    ... confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.

    Is that giving the results you want?

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,719

    Re: HELP: Finding Person's Highest 6 Scores from Range

    Dave - the layout is like this and so on to Event 10:

    Excel 2016 (Windows) 32 bit
    A
    B
    C
    D
    E
    F
    G
    H
    I
    1
    Event 1
    Event 2
    Event 3
    2
    1st JOHN SMITH
    41
    1st JOHN SMITH
    30
    1st JOHN SMITH
    22
    3
    2nd SMITH BROWN
    40
    2nd SMITH BROWN
    29
    2nd SMITH BROWN
    21
    Sheet: Scores

    The summary table is like this:

    Excel 2016 (Windows) 32 bit
    A
    B
    C
    1
    Angler Name Best 6 Ranking
    2
    JOHN SMITH
    1
    3
    SMITH BROWN
    2
    Sheet: Rankings

  8. #8
    Valued Forum Contributor PFDave's Avatar
    Join Date
    05-17-2012
    Location
    Milton Keynes, England
    MS-Off Ver
    Excel 2013
    Posts
    1,067

    Re: HELP: Finding Person's Highest 6 Scores from Range

    Quote Originally Posted by AliGW View Post
    In the original file, Dave's formula would be this:

    =SUMPRODUCT(LARGE(IF(Scores!$B$2:$AC$3=A2,Scores!$C$2:$AD$3),{1,2,3,4,5,6}))

    ... confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.



    Is that giving the results you want?
    Thanks Ali

  9. #9
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,719

    Re: HELP: Finding Person's Highest 6 Scores from Range

    It's a useless layout, really - see post #7.

  10. #10
    Registered User
    Join Date
    08-09-2017
    Location
    Sydney
    MS-Off Ver
    Office for Mac 16.79.1
    Posts
    17

    Re: HELP: Finding Person's Highest 6 Scores from Range

    Quote Originally Posted by AliGW View Post
    In the original file, Dave's formula would be this:

    =SUMPRODUCT(LARGE(IF(Scores!$B$2:$AC$3=A2,Scores!$C$2:$AD$3),{1,2,3,4,5,6}))

    ... confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.

    Is that giving the results you want?
    That works halfway.

    It gives me the best 6 results.
    But I need to duplicate the forumla for each competitor, and when I copy the formula down to Smith Brown it tallies exactly the same count.

    The formula needs to identify which scores belong to which competitor

  11. #11
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,719

    Re: HELP: Finding Person's Highest 6 Scores from Range

    It doesn't do that here, Tommy, when entered correctly. You are entering it with ENTER, not C+S+E (and it gives the wrong result). Please follow the instructions below the formula in my post that you have quoted above.

  12. #12
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,719

    Re: HELP: Finding Person's Highest 6 Scores from Range

    Are we there yet?

  13. #13
    Registered User
    Join Date
    08-09-2017
    Location
    Sydney
    MS-Off Ver
    Office for Mac 16.79.1
    Posts
    17

    Re: HELP: Finding Person's Highest 6 Scores from Range

    Yes I think so, Thank you

    EDIT: I'm getting a NUM error
    Last edited by AliGW; 08-09-2017 at 06:33 AM. Reason: Post reinstated so that thread makes sense.

  14. #14
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,719

    Re: HELP: Finding Person's Highest 6 Scores from Range

    In that case, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

    PS If you are considering awarding rep. points, then you need to click on one of Dave's posts as this was his solution, not mine.

  15. #15
    Valued Forum Contributor PFDave's Avatar
    Join Date
    05-17-2012
    Location
    Milton Keynes, England
    MS-Off Ver
    Excel 2013
    Posts
    1,067

    Re: HELP: Finding Person's Highest 6 Scores from Range

    Quote Originally Posted by Tommyslats View Post
    I'm getting a NUM error
    Can you upload your problem file and I'll see if I can download this one?

  16. #16
    Registered User
    Join Date
    08-09-2017
    Location
    Sydney
    MS-Off Ver
    Office for Mac 16.79.1
    Posts
    17

    Re: HELP: Finding Person's Highest 6 Scores from Range

    Quote Originally Posted by PFDave View Post
    Can you upload your problem file and I'll see if I can download this one?
    This is the actual file
    Attached Files Attached Files

  17. #17
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,719

    Re: HELP: Finding Person's Highest 6 Scores from Range

    Quote Originally Posted by Tommyslats View Post
    I'm getting a NUM error
    Tommy - the forum rules state that you should NOT edit a post after it has received a response. Please do not do so again, as it makes the thread nonsesnsical. Thanks.

  18. #18
    Registered User
    Join Date
    08-09-2017
    Location
    Sydney
    MS-Off Ver
    Office for Mac 16.79.1
    Posts
    17

    Re: HELP: Finding Person's Highest 6 Scores from Range

    Quote Originally Posted by AliGW View Post
    Tommy - the forum rules state that you should NOT edit a post after it has received a response. Please do not do so again, as it makes the thread nonsesnsical. Thanks.
    Sorry, I thought I had it
    Edit: I hadn't refreshed so you're reply hadn't come through. Sorry again.

  19. #19
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,719

    Re: HELP: Finding Person's Highest 6 Scores from Range

    There are errors in the formula, which should be this:

    =SUMPRODUCT(LARGE(IF(Scores!$B$2:$BA$60=A2,Scores!$C$2:$BB$60),{1,2,3,4,5,6}))

    entered with C+S+E.

    HOWEVER, you will get a NUM error where a competitor has fewer than six scores.

  20. #20
    Valued Forum Contributor PFDave's Avatar
    Join Date
    05-17-2012
    Location
    Milton Keynes, England
    MS-Off Ver
    Excel 2013
    Posts
    1,067

    Re: HELP: Finding Person's Highest 6 Scores from Range

    Quote Originally Posted by Tommyslats View Post
    This is the actual file
    You will receive this error where you don't have 6 score to sum as your TOP 6.

    What would you like to do for those with less than 6? Your Total Sum would not then be comparable to the best 6 really if you just sum the total of their scores.

  21. #21
    Registered User
    Join Date
    08-09-2017
    Location
    Sydney
    MS-Off Ver
    Office for Mac 16.79.1
    Posts
    17

    Re: HELP: Finding Person's Highest 6 Scores from Range

    Quote Originally Posted by AliGW View Post
    There are errors in the formula, which should be this:

    =SUMPRODUCT(LARGE(IF(Scores!$B$2:$BA$60=A2,Scores!$C$2:$BB$60),{1,2,3,4,5,6}))

    entered with C+S+E.

    HOWEVER, you will get a NUM error where a competitor has fewer than six scores.
    Is there a way to display the total of the scores if a competitor has less than six?

  22. #22
    Registered User
    Join Date
    08-09-2017
    Location
    Sydney
    MS-Off Ver
    Office for Mac 16.79.1
    Posts
    17

    Re: HELP: Finding Person's Highest 6 Scores from Range

    Quote Originally Posted by PFDave View Post
    You will receive this error where you don't have 6 score to sum as your TOP 6.

    What would you like to do for those with less than 6? Your Total Sum would not then be comparable to the best 6 really if you just sum the total of their scores.
    Just a total of their scores would suffice, even if they only have 2 or 4 scores for example

  23. #23
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,719

    Re: HELP: Finding Person's Highest 6 Scores from Range

    Try this:

    =IF(COUNTIF(Scores!$B$2:$BA$60,A2)<6,SUMPRODUCT(--(Scores!$B$2:$BA$60=A2),(Scores!$C$2:$BB$60)),SUMPRODUCT(LARGE(IF(Scores!$B$2:$BA$60=A2,Scores!$C$2:$BB$60),{1,2,3,4,5,6})))

    C+S+E.

  24. #24
    Valued Forum Contributor PFDave's Avatar
    Join Date
    05-17-2012
    Location
    Milton Keynes, England
    MS-Off Ver
    Excel 2013
    Posts
    1,067

    Re: HELP: Finding Person's Highest 6 Scores from Range

    =IFERROR(IF(COUNTIF(Scores!$A$2:$BB$60,A2)>5,SUMPRODUCT(LARGE(IF(Scores!$B$2:$BA$60=A2,Scores!$C$2:$BB$60),{1,2,3,4,5,6})),SUM(IF(Scores!$A$2:$BB$60=A2,Scores!$B$2:$BB$60))),0)

    Entered with CTRL SHIFT ENTER and will provide 0 score if there are no scores to sum at all

  25. #25
    Registered User
    Join Date
    08-09-2017
    Location
    Sydney
    MS-Off Ver
    Office for Mac 16.79.1
    Posts
    17

    Re: HELP: Finding Person's Highest 6 Scores from Range

    Quote Originally Posted by PFDave View Post
    =IFERROR(IF(COUNTIF(Scores!$A$2:$BB$60,A2)>5,SUMPRODUCT(LARGE(IF(Scores!$B$2:$BA$60=A2,Scores!$C$2:$BB$60),{1,2,3,4,5,6})),SUM(IF(Scores!$A$2:$BB$60=A2,Scores!$B$2:$BB$60))),0)

    Entered with CTRL SHIFT ENTER and will provide 0 score if there are no scores to sum at all
    Perfect!

    You're a legend mate thanks very much

  26. #26
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,719

    Re: HELP: Finding Person's Highest 6 Scores from Range

    You should find that both solutions work.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

  27. #27
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,210

    Re: HELP: Finding Person's Highest 6 Scores from Range

    As the only numbers are those which wish to be counted the following could be added on the rankings tab cell b2 =LARGE(Scores!A2:AD2,1)+LARGE(Scores!A2:AD2,2)+LARGE(Scores!A2:AD2,3)+LARGE(Scores!A2:AD2,4)+LARGE(Scores!A2:AD2,5)+LARGE(Scores!A2:AD2,6)

    assuming the order of anglers remains the same on both sheets. its a bad layout tho I agree with Ali

  28. #28
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,719

    Re: HELP: Finding Person's Highest 6 Scores from Range

    What is your formula meant to be used for?

+ 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. Finding the 3 highest scores, as data changes
    By tommade in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-27-2016, 04:24 PM
  2. [SOLVED] Finding the highest score and show that in another column with its sub-scores
    By bbarth in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 07-07-2015, 02:04 AM
  3. Help with formula showing avg of each person's top scores
    By nicholsan in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-19-2015, 08:11 PM
  4. [SOLVED] Help with finding highest value in a range
    By kochark in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 06-21-2014, 11:29 AM
  5. Finding 2nd or 3rd highest value in range
    By jmhultin in forum Excel General
    Replies: 4
    Last Post: 03-11-2013, 06:38 AM
  6. [SOLVED] Finding the 1st, 2nd and 3rd highest scores
    By admiraldick in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-31-2012, 05:50 AM
  7. Replies: 4
    Last Post: 10-08-2010, 04:18 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