I have a large spreadsheet with many groupings of rows, and many columns with group Subtotals. Using VBA I am trying to set the subtotal formula by detecting the blank cell at the top of the column part. Here is an example of a group:
<tbody>
Header
[blank cell]
[blank cell]
item 1
50
60...
I have data that comes in at variable lengths in terms of rows and want to have the macro insert a Totals row. The problem I have though is I can't get the sum formula to start from the top and go down through the bottom.
If you can help me with this, I'd greatly appreciate it!
Thanks!
Thanks for coming to this thread - I appreciate it.
I have been working on a macro to automatically prepare a report from some data that is almost in the correct format. I have two issues that are holding me back from finishing the macro (and saving a lot of time).
1) I would like my macro...
We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel
Which adblocker are you using?
Disable AdBlock
Follow these easy steps to disable AdBlock
1)Click on the icon in the browser’s toolbar. 2)Click on the icon in the browser’s toolbar. 2)Click on the "Pause on this site" option.
Go back
Disable AdBlock Plus
Follow these easy steps to disable AdBlock Plus
1)Click on the icon in the browser’s toolbar. 2)Click on the toggle to disable it for "mrexcel.com".
Go back
Disable uBlock Origin
Follow these easy steps to disable uBlock Origin
1)Click on the icon in the browser’s toolbar. 2)Click on the "Power" button. 3)Click on the "Refresh" button.
Go back
Disable uBlock
Follow these easy steps to disable uBlock
1)Click on the icon in the browser’s toolbar. 2)Click on the "Power" button. 3)Click on the "Refresh" button.