ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Subtotals multiple columns (https://www.excelbanter.com/excel-worksheet-functions/34074-subtotals-multiple-columns.html)

john liem

Subtotals multiple columns
 

Gary L Brown Wrote:
Create a 'Helper' column with a formula such as...
=A2 & H2
Then use this column for the 'At each change in:' of DataSubtotals to
create a subtotal in Col C.
HTH,
--
Gary Brown

If this post was helpful, please click the ''''Yes'''' button next to
''''Was this Post Helpfull to you?".


"john liem" wrote:
-

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.


--
john liem
-

A very good suggestion and solution, thanks Gary !!!


--
john liem


All times are GMT +1. The time now is 12:46 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com