+ Reply to Thread
Results 1 to 6 of 6

can a vlookup return multiple values and how

  1. #1
    Forum Contributor
    Join Date
    03-30-2009
    Location
    dublin
    MS-Off Ver
    Excel 2007
    Posts
    104

    can a vlookup return multiple values and how

    apologies regarding the Title.
    not sure of how to ask this question.
    Vlookup can return the first reference to a specific value in a column, but if there is a 2nd or multiple references to the same value they cannot be returned.

    Sorry i am confusing everybody

    i will just explain the required end result.

    how can i create a feature similar to a subform(Access) in Excel.
    i have tried INDEX and MATCH, various LOOKUPS to find and return a value.
    but i cannot figure out how to get the function to then move on to the next or subsequent corresponding value.
    Last edited by bajdr47; 03-01-2010 at 08:01 AM. Reason: Many Thanks to all Perfect Solutions

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,037

    Re: can a vlookup return multiple values and how

    Can you upload example workbook with inputs that represent your data and desired output?
    Never use Merged Cells in Excel

  3. #3
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: can a vlookup return multiple values and how

    Depending on your data, a PivotTable might work
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  4. #4
    Forum Contributor
    Join Date
    03-30-2009
    Location
    dublin
    MS-Off Ver
    Excel 2007
    Posts
    104

    Re: can a vlookup return multiple values and how

    Zbor ,

    Please find attcahed file,

    i would like to enter the name in H6 and have the records for any name populate all the fields.

    many thnaks royUK,

    i was thinking of a Pivot, but i need the returns in a Specific Fromat
    Attached Files Attached Files

  5. #5
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,037

    Re: can a vlookup return multiple values and how

    Here are few solutions...

    1.st table doesn't need anything more
    2nd table need check column (B)
    Pivot table need F column
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    03-30-2009
    Location
    dublin
    MS-Off Ver
    Excel 2007
    Posts
    104

    Re: can a vlookup return multiple values and how

    Zbor,

    Many Thanks.
    Absolutley spot on.
    With the Pivot Table, i have picked up a tip elsewhere, if you Format the 1/-1 field using Custom format "Pass";"Fail" this will replace the 1 and -1 with pass and fail in the Pivot.

    Again...Thanks

+ 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