+ Reply to Thread
Results 1 to 10 of 10

Vlookups with multiple values for same ID

Hybrid View

  1. #1
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    365
    Posts
    2,243

    Re: Vlookups with multiple values for same ID

    Try this in G2 with CTRL+SHIFT+ENTER, rather than just ENTER

    =IFERROR(SMALL(IF($A$3:$A$121=$F2,IF(ISNA(MATCH($B$3:$B$121,$F2:F2,0)),$B$3:$B$121)),1),"")
    Then copy G2, then paste across & down.
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  2. #2
    Registered User
    Join Date
    06-13-2012
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Vlookups with multiple values for same ID

    Quote Originally Posted by Haseeb A View Post
    Try this in G2 with CTRL+SHIFT+ENTER, rather than just ENTER

    =IFERROR(SMALL(IF($A$3:$A$121=$F2,IF(ISNA(MATCH($B$3:$B$121,$F2:F2,0)),$B$3:$B$121)),1),"")
    Then copy G2, then paste across & down.
    Thanks for the effort man I appreciate it!

    I tried this but I got 0! :-s

    I changed it to include a larger table array, but still 0.

    Anyway, I now understand how I should have phrased my question: "Can we use VLookups with non-unique identifiers".

+ 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