Page 1 of 1

How to sum a list of series?

Posted: Tue Dec 22, 2015 1:23 pm
by ecardamone
Hi, I have a list of series that I create from the loop below. Is there an easy way to create two new series, one that is the sum of the first 11 series (gomd321.a through go339.a) and the other one that is the sum of the other 8 series (go311a2.a through go326.a)?

Code: Select all

for %x md321 md327 331 332 333 334 335 336m 3364to9 337 339 311a2 313a4 315a6 322 323 324 325 326 fetch go{%x}.a next
Thanks for help!

Re: How to sum a list of series?

Posted: Tue Dec 22, 2015 1:40 pm
by startz
Create groups and use @rsum.

Re: How to sum a list of series?

Posted: Tue Dec 22, 2015 1:56 pm
by ecardamone
Thank you!