Input after summarization
| accountname | accounttype | months | 3-12 months | 1-3 years | Grandtotal |
| current | L1 | 100 | 200 | 300 | 600 |
output
| accountname | accounttype | months | 3-12 months | 1-3 years | Grandtotal |
| current | L1 | 100 | 200 | 300 | 600 |
| subtotal | | 100 | 200 | 300 | 600 |
| Grandtotal | | 100 | 200 | 300 | 600 |