+ Reply to Thread
Results 1 to 3 of 3

vlookup that return the lookup value only once

  1. #1
    Registered User
    Join Date
    04-11-2015
    Location
    Singapore
    MS-Off Ver
    2010
    Posts
    54

    vlookup that return the lookup value only once

    I have a table of item ordered that needs to be consolidated after they have been grouped.

    The initial part is done where consolidation the qty and grouping according to postal code, now I am at the next phase of filling up the table with the remaining information.

    I am trying to use vlookup, but this function only captures the first row in the list, example in this case, if more than 1 person having the same postal code, vlookup only return the first name in the list.
    e.g. in this case, both peter and john is staying at the same postal code.
    vlook_multiple1.JPG

    How can I change the formula so that it will not repeat capturing the same information?
    ie. in the above example with postal code 760125, after filling up 'john', excel to look for other entry than 'john' in subsequent cells and so forth.
    vlook_multiple2.JPG

    thank you in advance for your help.

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: vlookup that return the lookup value only once

    use index / match for that problem.

    you can combine the name and postal code to make a indentifier unique.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Valued Forum Contributor wenqq3's Avatar
    Join Date
    04-01-2013
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    868

    Re: vlookup that return the lookup value only once

    = INDEX($Q$2:$Q$6,SMALL(IF("LOOK UP VALUE"=$P$2:$P$6,ROW($P$2:$P$6)-ROW($P$2)+1),1))

    Ctrl + Shift + Enter

    Something like this. Or please upload your sample file.
    Last edited by wenqq3; 05-23-2016 at 04:33 AM.
    -If the problem is solved, please mark your thread as Solved: Click Thread Tools above your first post, select "Mark your thread as Solved".

    -Always upload a workbook before start your question
    To attach a file, push the button with the paperclip (or scroll down to the Manage Attachments button), browse to the required file, and then push the Upload button.

    +++ If my answer(s) helped you, please add me reputation by click on * +++

+ 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. [SOLVED] VLOOKUP to return multiple cells of same lookup value
    By gerardog92 in forum Excel General
    Replies: 6
    Last Post: 01-24-2014, 03:35 AM
  2. [SOLVED] Can vlookup return highest cell value of in the relation to Lookup Value?
    By wado1 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 03-26-2013, 02:18 PM
  3. [SOLVED] Using VLookup, to return all values with same lookup value in array.
    By millssnell in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 01-23-2013, 04:17 PM
  4. VLOOKUP to return multiple cells of same lookup value
    By gerardog92 in forum Excel General
    Replies: 2
    Last Post: 04-26-2012, 02:19 PM
  5. Replies: 7
    Last Post: 05-15-2011, 07:06 PM
  6. VLOOKUP: Return value from column left of lookup column?
    By XiaoWei in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-27-2008, 06:17 AM
  7. Replies: 3
    Last Post: 01-24-2007, 05:38 AM
  8. VLOOKUP CONDITION TO RETURN BLANK CELL WHERE LOOKUP VALUE IS NOT IN TABLE ARRAY
    By Scott Lolmaugh in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-09-2006, 07:10 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