Dear ferreters, Ist there a possibility to do this: repeat/i=1:671 (let st=p_12111_st[i=`i`];\ let end=p_12111_end[i=`i`];\ let int_transp_s= var1211[i=`st`:`end`@SUM]) It should calculate the Sum and save it to the new grid of int_transp_s. Cheers, Patricia