JSMITH242B
Programmer
Hi All,
I have an Excel template which will be populated dynamically with data from my .ASP Page. This it does.
The format of the template is as follows:
Column B: Branch
Column C: Account No
Column E: Turnover
At the moment, I have a grand total but will need to have subtotals for each Branch.
How can I achieve this using VBA
Kind regards
Example is as follows:
Branch Account No Turnover
Cambridge 1 50.00
Cambridge 2 48.00
Cambridge 3 15.00
Harlow 1617 25.00
Harlow 4556 45.00
Totals: 183.00
I need the report to look like this
Branch Account No Turnover
Cambridge 1 50.00
Cambridge 2 48.00
Cambridge 3 15.00
Total 113.00
Harlow 1617 25.00
Harlow 4556 45.00
Total 70.00
Totals: 183.00
I have an Excel template which will be populated dynamically with data from my .ASP Page. This it does.
The format of the template is as follows:
Column B: Branch
Column C: Account No
Column E: Turnover
At the moment, I have a grand total but will need to have subtotals for each Branch.
How can I achieve this using VBA
Kind regards
Example is as follows:
Branch Account No Turnover
Cambridge 1 50.00
Cambridge 2 48.00
Cambridge 3 15.00
Harlow 1617 25.00
Harlow 4556 45.00
Totals: 183.00
I need the report to look like this
Branch Account No Turnover
Cambridge 1 50.00
Cambridge 2 48.00
Cambridge 3 15.00
Total 113.00
Harlow 1617 25.00
Harlow 4556 45.00
Total 70.00
Totals: 183.00