+ Reply to Thread
Results 1 to 3 of 3

Vlookup multiple instances of Lookup Value

  1. #1
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Vlookup multiple instances of Lookup Value

    Hey all

    I am using this formula

    Please Login or Register  to view this content.
    to extract data from a table, however, the cust id in F4 is also repeated further down the table with different values in B;D.

    This type of lookup only returns the first instance.

    Can anyone point me into the right direction of a formula which will pick up multiple instances. I've got a feeling that its an if rows countif small index match type one!

    please see the attached


    Cheers fellas
    Attached Files Attached Files
    Last edited by Blake 7; 06-16-2011 at 03:54 AM.
    Blake 7

    If your question has been answered, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

    If any member's response has helped to solve your problem, please consider using the scales icon on the top right of their post to show your appreciation.

    http://failblog.org/

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

    Re: Vlookup multiple instances of Lookup Value

    Hello,

    H4, use this Array Formula, must hit CONTROL+SHIFT+ENTER, not just ENTER. then copy across & down.

    =IFERROR(INDEX(C:C,SMALL(IF($B$4:$B$11=$G4,ROW($B$4:$B$11)),COUNTIF($G$4:$G4,$G4))),"")
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  3. #3
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: Vlookup multiple instances of Lookup Value

    Thanks H. Thats great

+ 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