I would probably try a =COUNTIF() function in a helper row. If random numbers are in A1:J1
A2=COUNTIF(A1:D1,0) and copy across. Note the relative references.
M2=(COUNTIF(A2:J2,4)>0) M2 returns TRUE for win and FALSE for loss.