+ Reply to Thread
Results 1 to 6 of 6

Returning multiple results from Vlookup

  1. #1
    Registered User
    Join Date
    10-04-2011
    Location
    durham, nc
    MS-Off Ver
    Excel 2003
    Posts
    3

    Returning multiple results from Vlookup

    I have a spreadsheet that has a bunch of data on it. I would like to be able to plug in one number "1000" to cell A2 of a new spreadsheet and populate cells B2:H10 with the corresponding data from the other spreadsheet. right now I am only able to return one line of information. Please see attached. PLEASEEEEE HELP.... Thanks in advance!!
    Attached Files Attached Files
    Last edited by NBVC; 10-06-2011 at 10:12 AM.

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

    Re: Returning multiple results from Vlookup

    in the Original Data sheet, add a column with formula in I2:

    =IF(A3='Need Help'!$A$2,COUNT(I$2:I2)+1,"")

    copied down

    then in J2:

    =MAX(I:I)

    Then in B2 of the Need Help sheet, enter formula:

    =IF(ROWS($A$1:$A1)>'Original Data'!$J$3,"",INDEX('Original Data'!B:B,MATCH(ROWS($A$1:$A1),'Original Data'!$I:$I)))

    copied down and across the columns.
    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
    10-04-2011
    Location
    durham, nc
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Returning multiple results from Vlookup

    After entering in the recomended formulas, I am still not coming up with any corresponding data. Attached you will see that it does not show up as intended. PLease advise on where I am going wrong. thanks so much for your help with this. this is my first time using this forum and its great to see that there are people out there willing to help. thanks again!!
    Attached Files Attached Files

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

    Re: Returning multiple results from Vlookup

    Here you go.

    Your formula in the first sheet should start from I2.

    And your formula in the summary sheet was referencing the wrong cell in the first sheet for max count.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    10-04-2011
    Location
    durham, nc
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Returning multiple results from Vlookup

    Excellent! Thanks so much!

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

    Re: Returning multiple results from Vlookup

    You are welcome,

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

+ 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