+ Reply to Thread
Results 1 to 5 of 5

Multiple VLOOKUP Answers

  1. #1
    Registered User
    Join Date
    02-08-2017
    Location
    Greenwood, SC
    MS-Off Ver
    2010
    Posts
    18

    Multiple VLOOKUP Answers

    I am working on a spreadsheet for a wedding guest list. My sister wants it to where if she types in a last name, it'll bring up all the information for them. I have used VLOOKUP and done this successfully. The only thing I am struggling with is when we have multiple guests with the same last name. Is there anyway I can use VLOOKUP to either a) bring back all of the people who have the same last name or b) make it so there's a drop-down box when I type the last name so I can choose between all of the results. I have attached the spreadsheet and highlighted in yellow what I am talking about. Thank you for any help.
    Attached Files Attached Files
    If my answer helped, say thanks. Add reputation.

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Multiple VLOOKUP Answers

    Example is on Sheet2 (based on Sheet1 as source)
    Result can be filtered (e.g. by Yes/No)
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    btw. on source sheet in Last Name you can use, eg. Baer Alex, Jr. etc... and in search field (yellow) you can type Alex (alex. lex, aer.....)
    Last edited by sandy666; 02-18-2017 at 02:27 PM.

  3. #3
    Forum Contributor
    Join Date
    03-29-2013
    Location
    lakewood, usa
    MS-Off Ver
    exce2013
    Posts
    112

    Re: Multiple VLOOKUP Answers

    Look at this link. should get you going.
    http://eimagine.com/how-to-return-mu...ch-or-vlookup/

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,861

    Re: Multiple VLOOKUP Answers

    See attached:

    Created a named range ("First_Name") based on the Last Name entered in B2

    in R2

    =IFERROR(INDEX($C$7:$C$200,SMALL(IF($B$7:$B$200=$B$2,ROW($B$7:$B$200)-ROW($B$7)+1,""),ROWS($B$7:$B7))),"")

    Enter with Ctrl+Shift+Enter

    in C2 created a Data Validation

    Allow: =List

    Source: =First_Name

    In D2:

    =VLOOKUP($C2,$C$7:$G$200,COLUMNS($C:C)+1,0)

    Copy across

    OR safer f ithere are duplicate first names

    in D2

    =INDEX($D$7:$G$100,MATCH(1,($B$7:$B$100=$B$2)*($C$7:$C$100=$C$2),0),COLUMNS($D:D))

    Enter with Ctrl+Shift+Enter
    Attached Files Attached Files
    Last edited by JohnTopley; 02-18-2017 at 02:13 PM. Reason: Omitted formula

  5. #5
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Multiple VLOOKUP Answers

    thanks for rep

+ 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 with Multiple Answers in Lookup Cell!
    By lkbarnes in forum Excel General
    Replies: 7
    Last Post: 02-23-2016, 04:57 PM
  2. keep getting repeat answers using vlookup
    By garvey1973 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-29-2015, 04:25 PM
  3. Vlookup Multiple answers and place in label captions
    By jamie030489 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-13-2015, 11:09 AM
  4. [SOLVED] Want to use VLOOKUP with two answers
    By jim0000 in forum Excel General
    Replies: 6
    Last Post: 07-02-2015, 12:27 AM
  5. [SOLVED] VLOOKUP returning multiple answers from table
    By Cyclewench in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 04-06-2013, 03:18 AM
  6. Return Multiple answers with vlookup?
    By JohnXDoe in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-11-2008, 08:34 AM
  7. [SOLVED] Can VLOOKUP return multiple answers based on several identical lo.
    By jddtct in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-11-2005, 03: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