+ Reply to Thread
Results 1 to 4 of 4

Excel 2007 : Solving Ties with LARGE/SMALL function

  1. #1
    Registered User
    Join Date
    11-03-2011
    Location
    N. Carolina
    MS-Off Ver
    Excel 2007
    Posts
    3

    Solving Ties with LARGE/SMALL function

    I coach a little league baseball team and over the years have added on to my stats file. I do a sports article after each game listing leaders in the various stat categories and with the most recent season over, I'd like to make my life easier going foward and just have that info listed out for me.

    At issue is the LARGE / SMALL function ... there are various instances where more than one player has '8 hits' for example.

    Is there an easy way to list each player's name instead of showing the first instance player's name multiple times?

    Thanks
    Matt
    Attached Files Attached Files

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,168

    Re: Solving Ties with LARGE/SMALL function

    Hi Matt,

    To eliminate ties how about adding a small fraction to things that make sense.
    Example two players have 8 hits but one has 10 at bats and the other has 15 at bats.

    I'd add hits plus 1/(at bats * 10) to his hits. This could easily eliminate ties so your formulas would work and still make sense.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Solving Ties with LARGE/SMALL function

    Hello Matt,

    You can use this formula in C3

    =INDEX(Stats!B$5:B$16,SMALL(IF(Stats!FJ$5:FJ$16=B3,ROW(Stats!FJ$5:FJ$16)-ROW(Stats!FJ$5)+1),COUNTIF(B$3:B3,B3)))

    It's an "array formula" that needs to be confirmed with CTRL+SHIFT+ENTER so that curly braces appear around the formula in the formula bar.

    Copy down to C14 and use the same method for other columns. Note: I took the name from column B, you don't need to have IL if you don't want.....
    Audere est facere

  4. #4
    Registered User
    Join Date
    11-03-2011
    Location
    N. Carolina
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Solving Ties with LARGE/SMALL function

    I copied the suggested formula into C3, but it results in a #VALUE! with note that says "A Value used in the formula is of the wrong data type"

    I'll work through the formula wizard though with that thought process - thanks

    Updated ... Got It! ... Beauty ... Thanks
    Last edited by mkenaw; 11-03-2011 at 10:53 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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