Closed Thread
Results 1 to 3 of 3

Check if array contains specific text(multiple matches possible), return row number

Hybrid View

  1. #1
    Registered User
    Join Date
    05-25-2016
    Location
    USa
    MS-Off Ver
    EXCEL 2010
    Posts
    7

    Check if array contains specific text(multiple matches possible), return row number

    Hello, sorry if this question has been asked before...(I'm sure it has, I've found numerous responses through google but haven't had any luck for my example)

    I have data set that looks like this:


    Col A Col B Col C
    0/0/0/0/ 0/0/1/0/ 1/28
    0/0/0/1/ 0/0/1/0/ 1/29
    0/0/1/0/ 0/0/1/1/ 1/41
    0/0/1/1/ 0/0/1/1/ 0/16


    Basically, I want to check if the text in Col B matches any text in Col A, then return the nth match in Col C. Ideally, my result would look like this:


    Col A Col B Col C Col D(first match) Col E(second match)
    0/0/0/0/ 0/0/1/0/ 1/28
    0/0/0/1/ 0/0/1/0/ 1/29
    0/0/1/0/ 0/0/1/1/ 1/41 1/28 1/29
    0/0/1/1/ 0/0/1/1/ 0/16 1/41 0/16

    Here, 0/0/0/0/ isn't in ColB, so Col D and E are blank. 0/0/1/0 matches twice in Col B, so Col D and E here are 1/28 and 1/29 respectively


    Any help here would be GREATLY appreciated

  2. #2
    Registered User
    Join Date
    05-25-2016
    Location
    USa
    MS-Off Ver
    EXCEL 2010
    Posts
    7

    Re: Check if array contains specific text(multiple matches possible), return row number

    Please delete this post.

  3. #3
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    27,023

    Re: Check if array contains specific text(multiple matches possible), return row number

    Welcome to the Forum, unfortunately:

    This is a duplicate post and as such does not comply with Rule 5 of our forum rules. This thread will now be closed, you may continue in your other thread.

    Thread Closed.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 8
    Last Post: 11-06-2014, 06:19 PM
  2. [SOLVED] Macro to check data for matches and return a difference
    By Justair07 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 09-27-2013, 10:59 AM
  3. Replies: 2
    Last Post: 08-05-2013, 07:32 PM
  4. [SOLVED] INDEX MATCH array formula that matches substring n gives multiple matches
    By bkwins in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-12-2013, 04:57 AM
  5. [SOLVED] If specific text is found in cell, then return a number
    By csch123 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-31-2013, 05:07 PM
  6. Replies: 2
    Last Post: 01-01-2010, 10:26 AM
  7. Replies: 3
    Last Post: 08-06-2009, 04:27 AM

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