$ 0 0 Hi, Total profit=sum([profit]) where ([profit]>0) Total Loss=sum([profit]) where ([profit]<0) Amit