Hi Ursina,
The sum value of the highlighted cells is always shown in the status bar at the bottom of the Origin window.
If you want to put a condition, only when all cells are positive, you can run the following 4-line script in the Script window;range rr=wcol(wks.c1)[wks.r1:wks.r2];
sum(rr);
if(sum.min>0) type All cells are positive (or missing). Sum is $(sum.total);
else type Some are negative or zero;
This works as you wanted?
--Hideo Fujii
OriginLab