Forum Discussion
MikeW2405
Dec 31, 2025Copper Contributor
Different functions for each column in a subtotal
ive got a sheet where i want to subtotal using different functions in different columns. i will always have different data every time i want this to execute, so cant hardwire the row range, also each...
OliverScheurich
Dec 31, 2025Gold Contributor
With modern Excel and with legacy Excel such as Excel 2013 you can use Power Query. In the attached file you can add data to the blue dynamic table. Then you can click in any cell of the green table and right-click with the mouse and select refresh to update the green result table.
The data layout in the screenshot and in the attached file is for illustration. You can place the green result table in another worksheet as well.
- MikeW2405Dec 31, 2025Copper Contributor
Thanks. I didn't know about powerquery.
I did achieve a result by attaching the sheet to Access. Though PowerQuery is more elegant.