+ Reply to Thread
Results 1 to 5 of 5

Index and Match duplicate results - How to show duplicate names?

  1. #1
    Forum Contributor
    Join Date
    05-19-2012
    Location
    houston
    MS-Off Ver
    excel 2013
    Posts
    103

    Index and Match duplicate results - How to show duplicate names?

    Hi,

    I have two columns... Column AB with product names and column AD with a prices. I need to have a Top 10 and Bottom 10 results. The information in both column AB and AD will change frequently. Right now I have the following:

    Please Login or Register  to view this content.
    Same code for the bottom 10 just with =SMALL in columns AP5 and AQ5

    This works great except every so often there is a duplicate price, and when that happens the first product name is listed for all the duplicate prices. I've tried all the examples I can find and nothing seems to work in my situation so I'm not sure what I'm missing.

    When there are duplicate prices I need each individual product name to show.

    Any help would be greatly appreciated.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: Index and Match duplicate results - How to show duplicate names?

    For simplicity, I didn't use your ranges, but you can adapt this:

    10 largest, copied down, in E2:
    =LARGE($B$2:$B$20,ROWS($1:1))

    Product names, in F2:
    =INDEX($A:$A,SMALL(INDEX(($B$2:$B$20<>E2)*10^10+ROW(B$2:B$20),0),COUNTIF(E$2:E2,E2)))

    Adjust the ranges to suit.
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Forum Contributor
    Join Date
    05-19-2012
    Location
    houston
    MS-Off Ver
    excel 2013
    Posts
    103

    Re: Index and Match duplicate results - How to show duplicate names?

    Perfect, thank you!

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,986

    Re: Index and Match duplicate results - How to show duplicate names?

    You're welcome.



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

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.

  5. #5
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Index and Match duplicate results - How to show duplicate names?

    Hi

    For Bottom 10 results
    Try this for prices
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    and this for names
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    For Top 10 results
    Try this for prices
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    and this for names
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Note: Row 1 in some references are not mistake as in INDEX($AD$1:$AD$900...

+ 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. Replies: 2
    Last Post: 03-15-2017, 08:22 AM
  2. [SOLVED] INDEX, MATCH on two worksheets with duplicate names
    By score in forum Excel General
    Replies: 4
    Last Post: 08-06-2016, 07:55 AM
  3. [SOLVED] Index Match - Avoiding Duplicate Results
    By Aphalite in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-04-2014, 08:12 PM
  4. INDEX Match Duplicate names displayed problem.
    By Andrewman36 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-05-2014, 11:00 PM
  5. Index and Match has duplicate results
    By Jonathan Beale in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-17-2014, 12:46 AM
  6. Index, Match, Large Function returning duplicate names
    By RNeel55 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-08-2013, 04:09 PM
  7. INDEX & MATCH fuctions w/data that could have duplicate results
    By SociableMonkey in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-02-2012, 05:52 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