Is there an easy way to print the sum of the budget figures across years - for example the budgets for an account/department for the last 10 years?

I can think of a roundabout way, but maybe I'm missing something.

Thanks

Steve