An example file would probably help in this instance... however if for the sake of demo we assume your sample data table is in A1:C4 and criteria is in D1 with values to be returned in D2:D4 then
D2: =INDEX($A2:$C2,1+COUNTIF($A$1:$C$1,"<"&$D$1))
copied down
Though as you can see from the above you're constantly recalculating the COUNTIF element in which the result is constant... it would therefore make more sense then to store that calculation in E1 and then refer to just that cell from then on, eg:
E1: =1+COUNTIF($A$1:$C$1,"<"&$D$1)
D2: =INDEX($A2:$C2,$E$1)
copied down
Bookmarks