+ Reply to Thread
Results 1 to 3 of 3

Using Index-Match to pull non-unique values

  1. #1
    Registered User
    Join Date
    08-22-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    5

    Using Index-Match to pull non-unique values

    Hi All,

    I just joined the forum to hopefully get a solution to an issue I'm having. Unfortunately, I cannot share the actual data because its confidential, but I'll try my best to explain it while maintaining confidentiality.

    Essentially, I have main tab that has a list of entries based on the activity of lots of different entities. Each entity, in turn, has its own worksheet. I'm trying to pull the row of data if the entity name appears.

    Now the issue is, each each of these entities has several different sub-entities that make it up.

    My formula currently is only pulling unique sub-entities. In other words, it is only pulling the first occurrence of these different sub-entities. Is there a way I can code this so that it pulls non-unique names(sub-entities)?

    Here is the formula that I have on each :
    =IFERROR(INDEX(Main!B$1:B$1260,MATCH(0,COUNTIF($B$1:B1,Main!$B$1:$B$1260)+(Main!$C$1:$C$1260>$L$1)+(Main!$C$1:$C$1260<$L$1),0)),"")

    If you have any questions regarding the formula, I'd be glad to clarify.
    - $L$1 is the name of the entity it is searching for on the main page.

    Thanks for taking a look.

  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: Using Index-Match to pull non-unique values

    Mockup a workbook you can share with fake data that exactly demonstrates the data layout you're using and also manually mockup the "results" you would get from that sample mock data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    _________________
    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
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Using Index-Match to pull non-unique values

    See if this is what you had in mind:

    http://www.excelforum.com/excel-form...ell-value.html
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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. [SOLVED] Problem Using LARGE formula with Index/Match to pull values when there are Duplicates
    By BDavis in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-11-2014, 02:23 PM
  2. Index and Match Unique values from list
    By thelegazy in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-03-2013, 02:49 AM
  3. Replies: 2
    Last Post: 02-02-2013, 05:24 PM
  4. Replies: 4
    Last Post: 07-16-2012, 06:22 AM
  5. Using MATCH and INDEX to extract unique values
    By jg70124 in forum Excel General
    Replies: 1
    Last Post: 05-17-2006, 03:10 PM

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