Is it possible to tell excel to move to the next cell if a function calculated in A2 returns "o".

I do an array function, where I look for a value in column B. Not all cells in column B have that value (I use the search function btw), and I would like to tell excel to list only those with a result that is not "0".

So, show the result where the search function is not "0". Not by making a list of it, or by selecting unique results, or leaving out the blanks using filters, but really only list those where the calculation is not equal to "0".

Possible?