Forum Discussion

awd1963's avatar
awd1963
Copper Contributor
Aug 28, 2023
Solved

How to ignore values when searching the data

Hi all, I believe I am currently using Excel 2019 but it might be 2016.   I posted earlier but  it was deleted for some reason and not sure why. I want to lookup a product in the Data Table that...
  • HansVogelaar's avatar
    Aug 28, 2023

    awd1963 

    In F4:

    =MINIFS($K$4:$K$18,$H$4:$H$18,"<>"&B4,$L$4:$L$18,C4)

    This calculates the lowest MBS for the same SA for products not equal to that in B4.

    In E4:

    =INDEX($H$4:$H$18,MATCH(1,($L$4:$L$18=C4)*($K$4:$K$18=F4),0))

    This looks up the product with the same SA, and with the minimum MBS calculated in F4.

Resources