SOLVED

3 or more criteria lookup

Copper Contributor

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_3-1633450954799.png

 

 

 

5 Replies

@cef_06 

See the attached version. I unmerged the cells in column A and repeated the ages, and I split the weight ranges into two columns.

thank you! I suspected separating the weight range is a must, so will try and experiment with this.
best response confirmed by allyreckerman (Microsoft)
Solution

@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))

Yea_So_0-1633486314580.png

 

cheers

amazing! thanks so much!

@cef_06 

also i forgot to fix these ranges, you might want to fix them with a $ sign:

Yea_So_0-1633544865547.png

 

1 best response

Accepted Solutions
best response confirmed by allyreckerman (Microsoft)
Solution

@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))

Yea_So_0-1633486314580.png

 

cheers

View solution in original post