Hi bedibra,
Please try the following:
Before Formula Script:
sum(col(A));
smax=sum.max;
simax=sum.imax;
range rr=col(A)[$(simax):<end>];
sum(rr);
smin=sum.min;
simin=sum.imin;
col(B)=
i==1?simax: (i==2?smax: (i==3?simin:(i==4?smin:0)))
It shows the max position, the value, the min position after the max, and the value.
Does it work?
--Hideo Fujii
OriginLab