Hi Siva,
Just a minor correction, it should be: ((col(A)>=0)&&(col(B)>=0))?col(C):-col(C)
or, followed your original logical formulation, the conditional formula may be:((col(A)<0)||(col(B)<0))?-col(C):col(C)
--Hideo Fujii
OriginLab
P.S. With no logical operator, try 2*(sign((sign(col(A))+1))*sign((sign(col(B))+1))-0.5)*col(C)