Try something like:
=IF(ROWS($A$1:$A1)>COUNTIF(Sheet1!$AX$5:$BI$1000,500),"",INDEX(Sheet1!$AE$5:$AE$1000,SMALL(IF(Sheet1!$AX$5:$BI$1000=500,ROW(Sheet1!$AE$5:$AE$1000)-ROW(Sheet1!$AE$5)+1),ROWS($A$1:$A1))))
you will need to adjust sheet name and ranges to suit.. (don't change this part though...ROWS($A$1:$A1) )
Then you must confirm the formula with CTRL+SHIFT+ENTER not just ENTER.. you will see { } brackets appear.
Then copy the formula down as far as you desire...
Note: You cannot use whole column references, like AE:AE in this formula...
Bookmarks