Hello,
Please use the Script below for add to each column the largest value of the previous column.
Dataset _max;
for(i=1;i<wks.nCols;i++)
{
_max[i]=max(col($(i)));
}
for(i=1;i<wks.nCols;i++)
{
col($(i+1))+=_max[i];
}
Best regards,
Jason Zhao
OriginLab Tech