+ Reply to Thread
Results 1 to 3 of 3

Vlookup with duplicates

  1. #1
    Registered User
    Join Date
    02-27-2014
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    25

    Vlookup with duplicates

    I want a vlookup to occur when there is duplicate data in the Lookup value and the table array. Is there a way that the vlookup can present the first match, and then if there is a duplicate it notices, then lookup and present the second one?

    Thanks in advance

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,674

    Re: Vlookup with duplicates

    This link should give you a UDF that you can download that will do the trick.

    http://www.excelfox.com/forum/f12/vl...iple-values-4/

    Be sure to scroll through the whole link as there is an update after the first posting.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    02-27-2014
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    25

    Re: Vlookup with duplicates

    Thanks!
    But is there a way it can be shown in a formula rather than vba code? Such as (1,2) at the beginning to present first one first

+ 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. VLOOKUP for duplicates
    By mattdh12 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-29-2013, 09:14 AM
  2. Vlookup With Duplicates
    By skate1991 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-11-2013, 08:01 AM
  3. [SOLVED] vlookup duplicates
    By par0016 in forum Excel General
    Replies: 5
    Last Post: 06-08-2012, 09:51 AM
  4. Vlookup with duplicates
    By MattP299 in forum Excel General
    Replies: 1
    Last Post: 12-19-2011, 05:22 PM
  5. Vlookup with duplicates
    By jorgetb in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 07-12-2010, 05:45 AM

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