+ Reply to Thread
Results 1 to 3 of 3

V-Lookup giving back only first match when their are multiple listings

  1. #1
    Registered User
    Join Date
    07-24-2014
    Location
    U.S
    MS-Off Ver
    2010
    Posts
    7

    V-Lookup giving back only first match when their are multiple listings

    Using v-lookup I am finding when there are multiple items with the same # entry (in this case it happens to be part numbers) the quantities returned (which is what i am trying to fill in) only fill from the first match. I have attached an example. Is there a way to have the correct quantities fill the correct line entries and part #?
    Attached Files Attached Files

  2. #2
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: V-Lookup giving back only first match when their are multiple listings

    Try this Array Formula. Since this is an array formula so you need to confirm it with Ctrl+Shift+Enter instead of just Enter.

    In B2
    Please Login or Register  to view this content.
    and copy down.

    Is this what you are trying to achieve?
    Attached Files Attached Files
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: V-Lookup giving back only first match when their are multiple listings

    Try this...

    Entered in B2 and copied down as needed:

    =IFERROR(INDEX('info pull'!B:B,AGGREGATE(15,6,1/('info pull'!A$2:A$6=A2)*ROW('info pull'!A$2:A$6),COUNTIF(A$2:A2,A2))),"")
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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. Issue with Lookup giving multiple results
    By Acollias in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-29-2013, 07:52 AM
  2. Simple Index Match formula giving me problems with 2 way lookup
    By rikkyshh in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-18-2013, 06:47 AM
  3. Lookup or match function with multiple criteria giving different results
    By Mian USman in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-24-2013, 09:15 AM
  4. Match multiple columns to bring back one result
    By amyj22x3 in forum Excel General
    Replies: 3
    Last Post: 08-22-2011, 03:04 PM
  5. IF statments for multiple listings.
    By imjoel in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-09-2005, 12:06 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