+ Reply to Thread
Results 1 to 4 of 4

having a vlookup issue

  1. #1
    Registered User
    Join Date
    10-22-2009
    Location
    Roanoke, indiana
    MS-Off Ver
    Excel 2010
    Posts
    94

    having a vlookup issue

    the enclosed sheet shows a vlookup to find student in a particular homeroom how do I get the look up to show all the instances of the query? so if i put 105 in the in g1 it shows all that's in that HR
    Attached Files Attached Files
    Last edited by komet12; 06-04-2012 at 09:00 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: having a vlookup issue

    In G2 enter:

    =IF(A2=$G$1,COUNT($G$1:G1),"")

    copied down

    Then in L5:

    =IFERROR(INDEX(A$2:A$28,MATCH(ROWS($A$1:$A1),$G$2:$G$28,0)),"")

    copied down as far as you need and across the columns.

    P.S. Please change title to more descriptive of the problem, like "Multiple Results Lookup" or similar
    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-22-2009
    Location
    Roanoke, indiana
    MS-Off Ver
    Excel 2010
    Posts
    94

    Re: having a vlookup issue

    Thank YOU !!!

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

    Re: having a vlookup issue

    You are welcome... but kindly update your title as requested.

+ 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