subtotal and subaverage
Hello,
I want to have a subtotal column AND a subaverage column (or n total columns) like the one in the following example - but without the extra Avg column in the Data area.
How to do that?
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Thank you! | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
Hello,
I want to have a subtotal column AND a subaverage column (or n total columns) like the one in the following example - but without the extra Avg column in the Data area.
How to do that?
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Thank you! | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
=InScope("Month_Column_Group_Name")
Ian
Thank you Ian, that helped.
Do you know how to remove the now empty column's?
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||
So that it look's like this?
| 2000 | |||||
| Q. 2 | |||||
| April | May | June | Total | Avg | |
| North | 4800 | 5708 | 5580 | 16088 | 5363 |
| South | 3238 | 3637 | 3527 | 10402 | 3467 |
| West | 1699 | 1687 | 1614 | 5000 | 1667 |
Yes, but than the width of the Avg-column will also be 0.
Or is it possible to do it conditionally at runtime?
Hi djmdzq9,
I Have the same problem now.
Do you have a solution that width of the average-column is not 0?
Thanks.
What you may be able to do instead is to use only one cell for the data and one for the header. Each cell contains a rectangle that contains two textboxes, one for the subtotal and one for the subaverage. And instead of hiding the header and associated cell, just hide the subaverage textboxes in the rectangles, using the InScope() function, as before.
Ian
I have tried to use rectangle, but this solution still leave a big blank. I don't think it works
I think the only possible way is overlapping two matrix, just show the total value for the behind matrix. however, using this approach will cause the format of exporting to Excel is not correct. but it works very well if you don't export it.
I don't know.. can't anybody