1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Index Match with Multiple results

Discussion in 'Business Applications' started by RexOsuna, Sep 18, 2019.

Thread Status:
Not open for further replies.
Advertisement
  1. RexOsuna

    RexOsuna Thread Starter

    Joined:
    Sep 18, 2019
    Messages:
    2
    Hi,
    I am currently using this array formula to list all entries satisfying multiple conditions.

    =INDEX(Tbl_Raw[SF Opportunity ID], SMALL(IF(ISNUMBER(MATCH(Tbl_Raw[Forecast Category], $H$2, 0)*MATCH(Tbl_Raw[Confirmation Year], $D$2, 0)*MATCH(Tbl_Raw[Confirmation Month], $F$2, 0)), MATCH(ROW(Tbl_Raw[SF Opportunity ID]), ROW(Tbl_Raw[SF Opportunity ID])), ""), ROWS($A$2:A2)))

    My Problem arises when i add another condition, but this time it needs the operator ">=".
    The current formula lists the opportunity id's that matches the Year, Month, and Forecast Category. which works fine.
    now i want another table, almost the same as above, but will list only those whose "Gross Margin" is greater than, let's say, 70K.

    how do i add that condition?
     

    Attached Files:

  2. RexOsuna

    RexOsuna Thread Starter

    Joined:
    Sep 18, 2019
    Messages:
    2
    UP! UP!
     
  3. Chawbacon

    Chawbacon

    Joined:
    Jul 9, 2018
    Messages:
    481
    First Name:
    Jack
    Hello ResOsuna,

    I do not have time to look at this in depth; however, you should be able to start your formula with an IF statement that will evaluate only the dataset that you are looking for.

    Good Luck
     
  4. Chawbacon

    Chawbacon

    Joined:
    Jul 9, 2018
    Messages:
    481
    First Name:
    Jack
    My apologies RezOsuna. This probably requires an IFERROR argument. Try something similar to the following; but, please remember to test on a copy! ;)

    Code:
    =IFERROR(IF(Tbl_Raw[Gross Margin (converted)]>=7000,(INDEX(Tbl_Raw[SF Opportunity ID], SMALL(IF(ISNUMBER(MATCH(Tbl_Raw[Forecast Category], $H$2, 0)*MATCH(Tbl_Raw[Confirmation Year], $D$2, 0)*MATCH(Tbl_Raw[Confirmation Month], $F$2, 0)), MATCH(ROW(Tbl_Raw[SF Opportunity ID]), ROW(Tbl_Raw[SF Opportunity ID])), ""), ROWS($A$2:A10))))),"")
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/1233138

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice