$totals{$year_x}+=$yr_tot;
update Later on, you would use keys %totals to get all years and you can iterate through that via some loop (for,foreach,while...)
----
Give me strength for today..
I will not talk it away..
Just for a moment..
It will burn through the clouds..
and shine down on me.
In reply to Re: Calculating subtotals from a table
by exussum0
in thread Calculating subtotals from a table
by pugsly62
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |