+ Reply to Thread
Results 1 to 4 of 4

Large function with cells that have the same value

  1. #1
    Registered User
    Join Date
    01-25-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    4

    Large function with cells that have the same value

    I have a function =INDEX($A$2:$A$708,(MATCH(LARGE(($N$2:$N$708),2),(($N$2:$N$708)),0))) which works great to return a name for the nth value in Column N, but I've run into a problem. When column N has two of the same value (50 for example) then I receive only the first name, but twice. I feel confident adding a Count If somewhere in the function will resolve this issue, but I'm not sure where the Count If goes... Any help is greatly appreciated.

    thanks!

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Large function with cells that have the same value

    Click GO ADVANCED and use the paperclip icon to post up a copy of your workbook. Show us where to look and where you need the fix.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    01-25-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Large function with cells that have the same value

    Here you go!Thanks!

    Help Please.xlsx

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Large function with cells that have the same value

    First extract the scores, say in E2:

    =LARGE($B$2:$B$9,ROWS($D$2:$D2))

    copied down

    Then in D2:

    =INDEX(A$2:A$9,SMALL(IF($B$2:$B$9=E2,ROW($A$2:$A$9)-ROW($A$2)+1),COUNTIF($E$2:$E2,$E2)))

    confirmed with CTRL+SHIFT+ENTER not just ENTER and copied down.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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