+ Reply to Thread
Results 1 to 8 of 8

Two Criteria Index Match on Multiple Sheets with Multiple Values

  1. #1
    Registered User
    Join Date
    01-21-2016
    Location
    Reading, PA
    MS-Off Ver
    2010
    Posts
    5

    Two Criteria Index Match on Multiple Sheets with Multiple Values

    Hi everyone!
    I'm not too terrible at excel, but this question has me stumped. I found a similar post but couldn't get the formulas to work in my example. I've been trying for about a day now :-)

    I have a document with a Summary page as well as three additional tabs that each include sales for a specific product (Product1, Product2, and Product3).

    On the summary tab, I would like the user to be able to select from 2 different drop down boxes -- one for customer owner and one for product name. Based upon those choices, I would like the file to return all of the corresponding customer names and total sales. For example, if Joe Smith and Product 1 is selected, I would like to see the names of all of the customers and total sales for everyone owned by Joe Smith on the Product 1 tab. The sample I attached is just a simpler example of my actual file. I would ideally like to bring back up to 50 records, ideally sorted by total sales (bringing back to top 50 total sales).

    I know I couldn't probably build a pivot table for something like this, but I really need it in list form.

    Also, if the selections would produce no results, is there a way for the cells to stay blank or show a 0 instead of showing an NA error.

    I'm hoping someone can help! I would GREATLY appreciate it!!

    Thank you!!!

    Megg
    Attached Files Attached Files

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,459

    Re: Two Criteria Index Match on Multiple Sheets with Multiple Values

    Try in B8:
    Please Login or Register  to view this content.
    C8:
    Please Login or Register  to view this content.
    ...Both are confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.

    Drag down
    Quang PT

  3. #3
    Registered User
    Join Date
    01-21-2016
    Location
    Reading, PA
    MS-Off Ver
    2010
    Posts
    5

    Re: Two Criteria Index Match on Multiple Sheets with Multiple Values

    I haven't the slightest idea how that is working, but IT WORKS! Thank you, thank you, thank you!! :-) I just have one question...in my actual document, my Product sheets will have varying number of rows (in the example, I provided exactly 8 rows in each sheet). Will it work to change the formulas to b:b, a:a, etc. instead of using specific cells?

  4. #4
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,459

    Re: Two Criteria Index Match on Multiple Sheets with Multiple Values

    Avoid whole column reference.
    If tent to maximum 800 rows, try to replace a2:a8, b2:b8, c2:c8 by. i.e, a2:a800, b2:b800, c2:c800.

  5. #5
    Registered User
    Join Date
    01-21-2016
    Location
    Reading, PA
    MS-Off Ver
    2010
    Posts
    5

    Re: Two Criteria Index Match on Multiple Sheets with Multiple Values

    Great! Thanks again for all of your help!

  6. #6
    Registered User
    Join Date
    01-21-2016
    Location
    Reading, PA
    MS-Off Ver
    2010
    Posts
    5

    Re: Two Criteria Index Match on Multiple Sheets with Multiple Values

    I'm so sorry, but I am actually experiencing a problem with this formula, and I don't understand enough about the formula to try to correct it. I have been trying for quite some time. Although the formula is generally working, I am running into a problem with incorrect names coming through. I have found the reason, but I do not know how to correct it. It looks like when the sales dollar amounts are the same for multiple customers, the formula is just returning the first person in the list with that sales amount, not necessarily matching to the customer owner. I'm guessing this is caused by the sort. I am okay taking the sort piece out, as long as I am getting the correct customer names on the list. Any suggestions? Thank you!!

  7. #7
    Registered User
    Join Date
    06-21-2012
    Location
    Surrey, England
    MS-Off Ver
    Excel 2007
    Posts
    19

    Re: Two Criteria Index Match on Multiple Sheets with Multiple Values

    Hi

    To overcome the duplicate dollar values for multiple customers, you'll see that I've inserted a helper column (column D) in the second to fourth tabs in your file (attached). I've also slightly tweaked the OP's formulas in the 'Summary' tab, so that all previous references to the cell ranges in column C applicable to the worksheet in question now refers to those in the helper column instead.



    Hope this helps.

    P.
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    01-21-2016
    Location
    Reading, PA
    MS-Off Ver
    2010
    Posts
    5

    Re: Two Criteria Index Match on Multiple Sheets with Multiple Values

    Works perfectly! Can't thank you enough!! :-)

+ 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] Index/Match with Multiple Criteria and Multiple return values
    By Brawnystaff in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-28-2015, 10:27 AM
  2. Replies: 5
    Last Post: 02-06-2015, 08:44 PM
  3. [SOLVED] Two criteria Index Match on multiple sheets returning multiple values
    By Joak in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-21-2014, 10:03 AM
  4. Vlookup (or index/match) with multiple criteria over multiple sheets
    By Groovicles in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-18-2013, 01:56 PM
  5. [SOLVED] Index/Match Not Matching Correctly on Multiple Criteria Across Sheets
    By cbauer in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-02-2012, 04:19 PM
  6. Index Match Multiple Criteria Multiple Sheets
    By sctraffic in forum Excel General
    Replies: 10
    Last Post: 07-21-2011, 03:47 PM
  7. Replies: 8
    Last Post: 06-20-2011, 05:54 PM

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