Forum Discussion

cef_06's avatar
cef_06
Copper Contributor
Oct 05, 2021
Solved

3 or more criteria lookup

Help needing to create a formula that would automatically filter data on E13 to E15 based 3 or more criteria as shown below and attached (excel is a mockup to keep actual work data private). 

 

challenge I am having is that info on column B has a range that I can't use a Vlookup with it. 

 

 

 

  • cef_06 

     

    The formula is:

    =INDEX(($B$2:$E$4,$B$5:$E$7,$B$8:$E$10), MATCH(C13,VALUE(SUBSTITUTE(INDEX(($B$2:$B$4,$B$5:$B$7,$B$8:$B$10),,,MATCH(B13,FILTER(A2:A10,(A2:A10>1)*1),0)),RIGHT(INDEX(($B$2:$B$4,$B$5:$B$7,$B$8:$B$10),,,MATCH(B13,FILTER(A2:A10,(A2:A10>1)*1),0)),6),)),1),MATCH("Region "&D13,$B$1:$E$1,0),MATCH(B13,FILTER(A2:A10,(A2:A10>1)*1),0))

     

    cheers

5 Replies

    • cef_06's avatar
      cef_06
      Copper Contributor
      thank you! I suspected separating the weight range is a must, so will try and experiment with this.
      • Yea_So's avatar
        Yea_So
        Bronze Contributor

        cef_06 

         

        The formula is:

        =INDEX(($B$2:$E$4,$B$5:$E$7,$B$8:$E$10), MATCH(C13,VALUE(SUBSTITUTE(INDEX(($B$2:$B$4,$B$5:$B$7,$B$8:$B$10),,,MATCH(B13,FILTER(A2:A10,(A2:A10>1)*1),0)),RIGHT(INDEX(($B$2:$B$4,$B$5:$B$7,$B$8:$B$10),,,MATCH(B13,FILTER(A2:A10,(A2:A10>1)*1),0)),6),)),1),MATCH("Region "&D13,$B$1:$E$1,0),MATCH(B13,FILTER(A2:A10,(A2:A10>1)*1),0))

         

        cheers