Multiple Subtotals in Excel

Copper Contributor

Good Afternoon,

In my report, I need to subtotal column V to show the count of transaction per week. That I can do. But I also need to subtotal the value of the transactions. Can you help?

 

Regards,

Tony

2 Replies

@Tony_McGraw Don't think you can do this in one single action. Inserting subtotals forces you to select one type of operation e.g. COUNT or SUM, but you can do both. But if you select COUNT for both the transactionID column and the value column for each change in Date, you will generate subtotal formulae like 

=SUBTOTAL(3,<range>)

 Then select the value column and do a Find&Replace, find (3, and replace it by (9, . the formulae in the value column will become 

=SUBTOTAL(9,<range>)

 

@Tony_McGraw 

Perhaps PivotTable could do the job