+ Reply to Thread
Results 1 to 6 of 6

Pulling Multiple Results by Matching one variable from List of Variables

  1. #1
    Registered User
    Join Date
    04-06-2012
    Location
    San Diego, California
    MS-Off Ver
    Excel 2010
    Posts
    3

    Smile Pulling Multiple Results by Matching one variable from List of Variables

    Hi, I am working with an index/match/min function in which I can input a value from a data list and pull all data with that value and their corresponding information. I am trying to do this with a large data set and I'd like to be able to pull all data without actually having to change the input cell value -- an example excel file is attached.

    For example, if I update the tab "data sheet" I want it to automatically pull and display ALL info that match all of the values like short lists:

    Code: Quantity: Type:
    1 850 a
    1 879 b
    1 871 c
    1 356 c
    2 109 b
    2 7 b
    3 860 c
    3 786 a
    3 541 a
    3 963 b
    and so on.....

    Currently I have to manually change the Input Cell if I want to view the different sets of data.

    Thanks! Let me know if I need to clarify anything.
    Attached Files Attached Files
    Last edited by caitlinkeats; 04-06-2012 at 04:38 PM.

  2. #2
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Pulling Multiple Results by Matching one variable from List of Variables

    You can try the code below. Just an FYI. I tried to put the code in Worksheet_Change module, but it kept crashing, so I reassign the code to a button. You might need to click the button everytime when you change the input cell.

    Please Login or Register  to view this content.
    Attached Files Attached Files

  3. #3
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Pulling Multiple Results by Matching one variable from List of Variables

    Never mind. DoEvent Fixed it.

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by JieJenn; 04-06-2012 at 05:10 PM.

  4. #4
    Registered User
    Join Date
    04-06-2012
    Location
    San Diego, California
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Pulling Multiple Results by Matching one variable from List of Variables

    Thanks, for the response... Unfortunately I'm not too familiar with macros so I'm not sure how to implement this. Also, I was hoping to pull all results at once, without having to change the input cell. Or in other words, I'd like to completely remove the input cell and get all of the information in one list.

  5. #5
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: Pulling Multiple Results by Matching one variable from List of Variables

    Try this,

    In D7 with Just ENTER, then copy down

    Please Login or Register  to view this content.
    In E7, with CTRL+SHIFT+ENTER,

    Please Login or Register  to view this content.
    Then copy this to F7, then select D7:F7 drag down.
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  6. #6
    Registered User
    Join Date
    04-06-2012
    Location
    San Diego, California
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Pulling Multiple Results by Matching one variable from List of Variables

    Works perfect! Thanks a ton!

+ 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