Hi Andrei,
Fair enough, if you're happy then I'm happy.
Incidentally, if you happened to want to extract a list of values greater than zero, in the order that they appear, then I've attached an example for you.
Code:
=IF(COUNTIF($B2:$F2,">0")>=(COLUMN(G2)-COLUMN($G2)+1),
INDEX($B2:$F2,SMALL(IF($B2:$F2>0,COLUMN($B2:$F2)-COLUMN($B2)+1),COLUMN(G2)-COLUMN($G2)+1)),"")
Regards,
Colin