+ Reply to Thread
Results 1 to 5 of 5

Finding multiple matches of a single input across multiple rows and columns

  1. #1
    Registered User
    Join Date
    08-07-2012
    Location
    Minneapolis
    MS-Off Ver
    Excel 2003 and 2010
    Posts
    3

    Finding multiple matches of a single input across multiple rows and columns

    Hi,
    I need to find all of the matches for the text in D2 of the 'find' tab in the data table C2:Z290 of the 'Table1' tab. I have been searching various Excel help forums for a couple days, and believe I need to use an array function with the MATCH and/or INDEX functions. So far I cannot get anything to work. Any help would be much appreciated!
    Laura
    Attached Files Attached Files

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

    Re: Finding multiple matches of a single input across multiple rows and columns

    So what result do you want? Do you want the matches to be highlighted in the Table1 tab? Are you only interested in D2? Should the corresponding Sector and Number also match?
    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.

  3. #3
    Registered User
    Join Date
    08-07-2012
    Location
    Minneapolis
    MS-Off Ver
    Excel 2003 and 2010
    Posts
    3

    Re: Finding multiple matches of a single input across multiple rows and columns

    Hi,

    I would like a list wherever it is easiest to put (tab 2 or a new tab) to show a concatenation of the Sector and Number of the matches from the first tab. I know from doing a manual search of D2 that the first match is in row 2, so I'd like that output to be Beta1. The highlighting that is in there now is remnants of something dumb that I was doing and I should have taken that out.

    I'm actually interested in finding the matches for all of the items in column D on tab 2. I figured it would be sort of a manual process involved in copying an array formula down first to find the matches for D2, then starting over with the formula to find the matches for D3. ? So I would be quite happy to just get this working to get matches for D2.

    Thanks again!

    Laura

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

    Re: Finding multiple matches of a single input across multiple rows and columns

    Ok try this:

    add this User-Defined Function (Alt+F11, Insert|Module and paste in VB Editor)

    Please Login or Register  to view this content.
    Then back in spreadsheet, in E2 enter formula:

    Please Login or Register  to view this content.
    confirmed with CTRL+SHIFT+ENTER not just ENTER and copy down.

    Note: This will take a minute or two to calculate....
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    08-07-2012
    Location
    Minneapolis
    MS-Off Ver
    Excel 2003 and 2010
    Posts
    3

    Re: Finding multiple matches of a single input across multiple rows and columns

    Wow, thank you so much!! It works perfectly.

+ 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