Subtotals multiple columns

J

john liem

How can I have subtotals of Col. "C" (sum of price) at each change in
Col. "A" (product) or Col. "H" (country) on 1 line? I want to have the
subtotals below the data line. Has somebody a VBA script for it? I am
using Excel 2003, thanks.
 
G

Gary L Brown

Create a 'Helper' column with a formula such as...
=A2 & H2
Then use this column for the 'At each change in:' of Data>Subtotals to
create a subtotal in Col C.
HTH,
 
Top