+ Reply to Thread
Results 1 to 2 of 2

Displaying multiple rows

  1. #1
    Registered User
    Join Date
    01-13-2010
    Location
    North Carolina
    MS-Off Ver
    Excel 2007
    Posts
    17

    Displaying multiple rows

    I need help pulling multiple rows from a table. See my table structure below.

    Sheet 1

    lookup = 300500


    Sheet 2

    Column A Column B
    300499 405222
    300499 405223
    300500 405333
    300500 405332
    300500 405331

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Displaying multiple rows

    You can use this formula to get values from column B if they match criteria in column A.

    =IFERROR(INDEX(B:B,SMALL(INDEX(($A$2:$B$100<>$D$2)*10^10+ROW($A$2:$B$100),0),ROWS($E$2:$E2))),"")

    Row\Col
    A
    B
    C
    D
    E
    1
    Col1 Col2 loockup value Reslults
    2
    300499
    405222
    300500
    405333
    3
    300499
    405223
    405332
    4
    300500
    405333
    405331
    5
    300500
    405332
    6
    300500
    405331
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

+ 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. Displaying Multiple rows
    By covershaker in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-13-2015, 09:49 AM
  2. [SOLVED] need help displaying desired rows based on Yes and No question for multiple categories
    By DixieDoll11 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-07-2014, 01:48 PM
  3. Search duplicate entries and displaying multiple rows on textbox
    By weeliang88 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-26-2012, 10:54 PM
  4. Replies: 7
    Last Post: 03-16-2009, 09:17 AM
  5. Replies: 1
    Last Post: 03-13-2009, 11:03 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