+ Reply to Thread
Results 1 to 4 of 4

INDEX/MATCH to create a list with multiple criteria

  1. #1
    Registered User
    Join Date
    01-15-2015
    Location
    California
    MS-Off Ver
    2010
    Posts
    96

    INDEX/MATCH to create a list with multiple criteria

    Hi There,

    I need help in creating a list from the attached table.
    Need an Index/Match function that will bring over the first item from column A (page name) that matches the Quote Type and if a "Yes" is in Column D (QC Impact (yes/no). Then, need the next line (and so on) to bring over the next item from column A (page name) that matches the same criteria.

    Attachment with sample data and expected outcome in the attachment.

    Thank you ahead of time for the help
    Attached Files Attached Files

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: INDEX/MATCH to create a list with multiple criteria

    Try this in F11:

    =IFERROR(
    INDEX(Table_Quote_Pages_Reference_List_and_History[Page Name],
    SMALL(IF((Table_Quote_Pages_Reference_List_and_History[Quote Type]=F$10)*(Table_Quote_Pages_Reference_List_and_History[QC Impact (yes/no)]="Yes"),
    ROW(Table_Quote_Pages_Reference_List_and_History[Page Name])-1),ROWS($1:1))),"") Ctrl Shift Enter

    It looks a little long with the table references but it should be the most efficient way of doing what you are looking for.

  3. #3
    Registered User
    Join Date
    01-15-2015
    Location
    California
    MS-Off Ver
    2010
    Posts
    96

    Re: INDEX/MATCH to create a list with multiple criteria

    can you explain the table references for me? I need to transfer the logic to the actual sheet that need to work from. The sheet is submitted in the attachment is not the full file. Will i need to name the actual ranges in my sheet?

  4. #4
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: INDEX/MATCH to create a list with multiple criteria

    Sure. Let's take this one for example: Table_Quote_Pages_Reference_List_and_History[Page Name]

    The name of the table is "Table_Quote_Pages_Reference_List_and_History" and the name of the column is "Page Name".

    To include the table reference in your formula, hover your mouse over the top section of the header cell until your pointer turns into a down arrow. Left clicking will then put that column into your formula.

    The great thing about table references is that you can add or remove data without having to change the ranges in a formula since tables automatically re-size and the table reference refers to an entire table column.

    You do not need to name any ranges, as they are already named by being in a table.


    You should be able to use the formula from post #2 in your actual workbook assuming that you shared a representative sample in post #1.

    The only modification that might be necessary would come if your headers are not in row 1 like they are in your sample.

+ 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. Replies: 16
    Last Post: 01-05-2018, 11:04 PM
  2. List Function with Criteria - Index Match with Criteria
    By teststrip in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-24-2017, 11:11 PM
  3. Need help in Index, Match usage to match multiple criteria in sum function
    By Summer0830 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-26-2017, 02:47 AM
  4. Replies: 2
    Last Post: 01-03-2017, 08:40 AM
  5. Index/Match to Match entries on multiple criteria
    By manning457 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-06-2015, 02:32 PM
  6. [SOLVED] Match multiple criteria in table, create list
    By x65140 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-15-2014, 12:21 PM
  7. Replies: 2
    Last Post: 09-27-2014, 04:34 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