Closed Thread
Results 1 to 8 of 8

Index Match Duplicate Values With No Helper Cells

  1. #1
    Registered User
    Join Date
    11-07-2015
    Location
    Boise, Idaho
    MS-Off Ver
    2013
    Posts
    18

    Index Match Duplicate Values With No Helper Cells

    I am using the Match/Index/Large functions in a range that has duplicate values which returns only the first value encountered meeting the criteria. I want to index the second duplicate value and also the third and fourth duplicate value without using helper cells. Every solved example of this problem I have found uses helper cells.

    See the attached sample sheet, What I want is in row 5 which returns the 3 items in row 2 that have the value of 15. What I get with a standard Index/Match formula is in row 7 which returns the same item 3 times (the first item encountered with a value of 15).

    The order that the duplicates are returned does not matter.

    Thanks
    Attached Files Attached Files
    Last edited by Kerik; 11-21-2015 at 05:32 PM. Reason: Clarity

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Index Match Duplicate Values With No Helper Cells

    Try this array formula** entered in A5 and copied across:

    =INDEX($A1:$H1,MATCH(LARGE($A2:$H2-COLUMN($A2:$H2)/10^10,COLUMNS($A5:A5)),$A2:$H2-COLUMN($A2:$H2)/10^10,0))
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Registered User
    Join Date
    11-07-2015
    Location
    Boise, Idaho
    MS-Off Ver
    2013
    Posts
    18

    Re: Index Match Duplicate Values With No Helper Cells

    That is perfect!. I really appreciate the help!

  4. #4
    Registered User
    Join Date
    08-04-2013
    Location
    San Diego, California
    MS-Off Ver
    Office 365 Business Premium
    Posts
    5

    Re: Index Match Duplicate Values With No Helper Cells

    Kudos to Tony. Not only did he beat me with a quicker reply, his formula is about half the size of mine.

  5. #5
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Index Match Duplicate Values With No Helper Cells

    You're welcome. Thanks for the feedback!

  6. #6
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Index Match Duplicate Values With No Helper Cells

    Thanks!

  7. #7
    Registered User
    Join Date
    05-22-2020
    Location
    Leningrad
    MS-Off Ver
    2007
    Posts
    34

    Re: Index Match Duplicate Values With No Helper Cells

    Hi!

    How could I manipulate this formula to ignore blank cells in the range also?

    Thanks

  8. #8
    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,362

    Re: Index Match Duplicate Values With No Helper Cells

    Administrative Note:

    Welcome to the forum.

    We are happy to help, however whilst you feel your request is similar to this thread, experience has shown that things soon get confusing when answers refer to particular cells/ranges/sheets which are unique to your post and not relevant to the original.

    Please see Forum Rule #4 about hijacking and start a new thread for your query.

    If you are not familiar with how to start a new thread see the FAQ: How to start a new thread
    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.

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Sum Duplicate Index-match-match Values
    By djh30 in forum Excel General
    Replies: 3
    Last Post: 01-06-2015, 11:27 PM
  2. Index Match with Duplicate Values
    By js2178a in forum Excel General
    Replies: 2
    Last Post: 09-28-2014, 02:21 AM
  3. Replies: 6
    Last Post: 11-08-2013, 10:29 PM
  4. index match with duplicate values - how to get latest value
    By helpme10 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-29-2013, 02:13 PM
  5. [SOLVED] Index and match functions for duplicate values
    By JBERK in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 10-23-2012, 10:48 AM
  6. Index/Match where data has duplicate values
    By ragatha in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-06-2012, 12:09 PM
  7. Excel, Match/Index when duplicate values?
    By Fizziii in forum Excel General
    Replies: 0
    Last Post: 01-18-2011, 02:12 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