+ Reply to Thread
Results 1 to 5 of 5

VLOOKUP with multiple criteria across multple tables

  1. #1
    Registered User
    Join Date
    04-29-2015
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    82

    VLOOKUP with multiple criteria across multple tables

    Good Afternoon,

    Currently I have 2 formulas that I wish to nest together but cannot figure out how to do it.

    At the moment, i have 2 tables (diff sheets) with first name and surname as the lookup criteria and then 1 value to return if they match.

    However, I wish to do this across multiple tables and if the person cannot be found in the first table, to move to the next. Please could you assist?

    Below is a formula that allows multiple sheets and tables.

    Please Login or Register  to view this content.
    Below is a formula that allows multiple criteria lookup.

    Please Login or Register  to view this content.
    If you need to merge the persons name to achieve this, please only merge in the lookup box and not the main dable as the first and surname must remain different.

    Your help would be much appreciated.

    VLookup across multi tables and criteria.xlsx



    Kind Regards,
    Quasis
    Last edited by Quasis; 06-08-2015 at 08:09 AM.

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

    Re: VLOOKUP with multiple criteria across multple tables

    You get better help if you add an excel file, without confidential information.

    Please also add the expected result in your file.
    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
    Registered User
    Join Date
    04-29-2015
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    82

    Re: VLOOKUP with multiple criteria across multple tables

    Attached as requested to original post

  4. #4
    Registered User
    Join Date
    06-05-2015
    Location
    Manchester, UK
    MS-Off Ver
    2016
    Posts
    94

    Re: VLOOKUP with multiple criteria across multple tables

    One solution would be to add a hidden column which joins the first and last names together, which you can then hide, but do your lookup on this column. Using an IFERROR formula, you could then make your formula perform the VLOOKUP on the second table if it returns an error on the first one. I've left the field unhidden for now.

    See attached:

    VLookup across multi tables and criteria.xlsx

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,959

    Re: VLOOKUP with multiple criteria across multple tables

    Based on your sample, try this in H2...
    =IFERROR(IFERROR(INDEX(Sheet1!$C$2:$C$6,MATCH(Sheet1!E2&" "&Sheet1!F2,INDEX(Sheet1!$A$2:$A$6&" "&Sheet1!B2:B6,0),0)),INDEX(Sheet2!$C$2:$C$6,MATCH(Sheet1!E2&" "&Sheet1!F2,INDEX(Sheet2!$A$2:$A$6&" "&Sheet2!B2:B6,0),0))),"Not in Table")
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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] iserror and vlookup with multiple criteria from multiple tables along with concatenation.
    By marcusduton in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-14-2015, 02:16 AM
  2. [SOLVED] How to sum values based on multiple criteria with multple possibilities for each criteria?
    By boredaxel in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-05-2013, 02:26 AM
  3. [SOLVED] Deleting multiple rows with specific criteria in multple columns
    By cb10 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-13-2012, 10:16 AM
  4. Vlookup on multiple matches in multple ranges
    By sflemings in forum Excel General
    Replies: 4
    Last Post: 01-20-2010, 09:48 AM
  5. Counting multple criteria in multiple cells.
    By JapanDave in forum Excel General
    Replies: 6
    Last Post: 05-12-2009, 01:30 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