+ Reply to Thread
Results 1 to 4 of 4

Index/Match Formula with two Criteria

  1. #1
    Registered User
    Join Date
    09-28-2021
    Location
    london uk
    MS-Off Ver
    Office 365
    Posts
    55

    Index/Match Formula with two Criteria

    Hello, I am totally stuck with an INDEX/MATCH, and am hoping for some support, please.

    In the attached sample workbook, the 'Info' worksheet contains information about products. 'Sheet1' contains a table that I need to complete, drawing data from the 'Info' worksheet.

    Columns A:C in 'Info' contain a SKU code, which is also listed in the table in 'Sheet1'.

    I need a formula that looks at the SKU code listed in column F of 'Sheet1' and then looks at the various headers in row 1, and finds the appropriate data from the 'Info' worksheet. For example, it sees the SKU Code 'CP83B5' in cell F4, and brings back a result of '396' in to cell G4, and '1683' in to cell H4, etc.

    In the attached sample, I have attempted to solve this in cell G8 of 'Sheet1' but it doesn't work. Any support, please? Many Thanks
    Attached Files Attached Files

  2. #2
    Forum Expert XLent's Avatar
    Join Date
    10-13-2010
    Location
    Northumberland, UK
    MS-Off Ver
    various
    Posts
    2,704

    Re: Index/Match Formula with two Criteria

    given your SKUs do not repeat in every row (as you're merging cells) you would need to adjust approach and, further assuming the column headers could be modified from one day to the next, you could use something like

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    note however your header values in row 1 would need to mirror the values used in Col N on Info - else you would need to adjust to wildcard based MATCH.

  3. #3
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,423

    Re: Index/Match Formula with two Criteria

    worksheet Or Tab name : Sheet1

    Cell G4 formula , Drag down and across

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  4. #4
    Forum Expert
    Join Date
    09-30-2019
    Location
    Chiangmai, Thailand
    MS-Off Ver
    Office 2016, Excel 2019
    Posts
    1,234

    Re: Index/Match Formula with two Criteria

    Please try

    G4
    =IFERROR(INDEX(Info!$O$3:$O$43,AGGREGATE(14,6,(ROW(Info!$A$2:$A$33)-ROW(Info!$A$2))/(Info!$A$2:$C$43=$F4),1)+MATCH("*"&G$1&"*",Info!$N$3:$N$43,0)-1),"")

    Regards.

+ 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 fails when the Match Criteria is determined by a formula result
    By JeffGrant in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-22-2021, 12:39 AM
  2. Index Match formula with 2 Match criteria's
    By jclaborn in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 08-15-2020, 03:49 AM
  3. Index formula with 2 match criteria please help
    By damienrmills in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-23-2018, 02:43 PM
  4. [SOLVED] INDEX/MATCH formula to match 3 criteria
    By garrett.grillo in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-03-2017, 07:45 PM
  5. [SOLVED] Index and Two Match Criteria- meeting both criteria (need help to repair formula)
    By OilAndGasMan1984 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-27-2017, 10:56 PM
  6. Replies: 2
    Last Post: 09-27-2014, 04:34 PM
  7. Replies: 6
    Last Post: 04-30-2014, 02:42 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