+ Reply to Thread
Results 1 to 6 of 6

lookup match with multiple criteria

  1. #1
    Forum Contributor
    Join Date
    10-04-2014
    Location
    Europe
    MS-Off Ver
    2007
    Posts
    107

    lookup match with multiple criteria

    Hi

    I have been going around in circles with this one... :-(

    I want to take specific Sheet2 table totals and place them in the cell next to the matching Sheet1 code.
    I need a formula to search and match the value in A4 (i.e. match sheet1!A4 with the Sheet2 A column (e.g. Sheet2!A3)), then search the
    appropriate tables header row, matching the Sheet1 values B6:B28 and returning each values Total to the corresponding Sheet1 cell, C6:C28.

    All of the tables on Sheet2 will always have the same layout but the number of rows per table will change. E.g. The tables currently have the rows AAA and BBB but could have up to 12 rows between "Pa 1" and the blank cell above the "Total" row.
    Also, the number of Sheet2 tables will vary, ranging from 1 up to 27 separate tables each containing up to 12 rows between the table identifier (e.g. Pa 1) and the blank cell above each tables "Total" row. Each sheet2 table will have a unique identifier value in A3, A12, A21 etc.

    Regards.
    Attached Files Attached Files
    Last edited by Bobsone; 11-07-2014 at 09:32 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    08-04-2011
    Location
    UK
    MS-Off Ver
    Excel 2021
    Posts
    346

    Re: lookup match with multiple criteria

    not pretty, but work.
    Attached Files Attached Files

  3. #3
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    5,947

    Re: lookup match with multiple criteria

    This should work for you.

    lookup match.xlsx
    Bernie Deitrick
    Excel MVP 2000-2010

  4. #4
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: lookup match with multiple criteria

    rename sheet1 to output and clear all the data

    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    10-04-2014
    Location
    Europe
    MS-Off Ver
    2007
    Posts
    107

    Re: lookup match with multiple criteria

    HI
    Thanks for the answers AlanY, Bernie Deitrick and rcm.

    I have adapted and am currently using all 3 solutions... a bit of testing

    Thanks again

    Regards, Bob.

  6. #6
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: lookup match with multiple criteria

    you are welcome, if one of them works for you just click on the solved button,,

+ 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] Formula Required to Lookup and Match Multiple Criteria
    By The_Snook in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-06-2014, 10:59 AM
  2. Lookup/match in multiple columns meeting criteria
    By ranmyaku in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-03-2013, 04:36 PM
  3. [SOLVED] MATCH multiple criteria then select the smallest value >= the lookup value
    By BaldEagle199 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 03-08-2013, 04:28 PM
  4. Replies: 3
    Last Post: 03-25-2012, 12:56 AM
  5. Multiple Criteria Lookup/Match/Index
    By Kasz in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-15-2011, 09: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