Originally Posted by
63falcondude
You're welcome. Happy to help.
Sure. {=IFERROR(INDEX(Sheet1!A:A,SMALL(IF(Table2[Price]>30,ROW(Table2[Price])),ROWS($1:1))),"")}
This is a typical way to return multiple matches. Let's work from the inside out.
ROWS($1:1) = 1 so the SMALL function will return the 1st row # where the Price > 30 which is row 2. The INDEX function then returns the value that is in the 2nd row of column A.
As the formula is dragged down, ROWS($1:1) changes to ROWS($1:2) which would return 2 and thus return the 2nd row # where the Price > 30.
And so on.
When you drag the formula to the right, everything stays the same except INDEX(A:A changes to INDEX(B:B so the column to be returned shifts from Product to Price.
If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.
Bookmarks