Forum Discussion

mark76's avatar
mark76
Copper Contributor
Jan 12, 2020
Solved

2 way lookup

  Hi, I am trying to look for products from column B in column F. Once found I want to compare the 'capacity' with 'quantity'. If quantity is less than capacity for that product I want to display...
  • SergeiBaklan's avatar
    SergeiBaklan
    Jan 12, 2020

    mark76 

    Thank you for the update. With that perhaps like

    =IFERROR(INDEX($B$2:$B$8,AGGREGATE(15,6,1/($C$2:$C$8<=INDEX($G$2:$G$12,MATCH($B$2:$B$8,$F$2:$F$12,0)))*(ROW($B$2:$B$8)-ROW($B$1)),ROW()-ROW($K$1))),"")

    Please check in attached.

Resources