Hi all,
Could someone help with this please. I have as array with a formula that contains a greater than function as shown below. I'd like this formula to change to a less than or greater than operator dependant on the operator in another cell but i'm not sure how to reference another cell with a logical operator.
=IFERROR(INDEX('Sheet1'!$B$1:$B$100,SMALL(IF(INDIRECT('Sheet1'!$B$1:$B$2)>$C$3,ROW(INDIRECT('Sheet1'!$B$1:$B$2))),ROW(1:1))),"")
perhaps something like?
=IFERROR(INDEX('Sheet1'!$B$1:$B$100,SMALL(IF(INDIRECT('Sheet1'!$B$1:$B$2)&D1&$C$3,ROW(INDIRECT('Sheet1'!$B$1:$B$2))),ROW(1:1))),"")
where D1 contains either a < or a >.
Bookmarks