blcexcel
Member
I'm looking for a method to create sum formulas dynamically.
I'm creating a report where there will be a data tab and then users will be setting the report tab themselves. They want the flexibility to group information as they wish. But I want to make it as user friendly as possible. And one challenge is there are many columns on the report. It would be time consuming if they had to manually create sum formulas for all the subtotal rows.
I created a solution using indirect formulas where the users enter the start row and end row and that is referenced in all the sum formulas. That works but makes the spreadsheet totally inflexible because the indirect formulas don't adjust if a column is added or removed.
Attached is a extremely simple version of what I'll working on.
Thanks in advance for any ideas!!!
I'm creating a report where there will be a data tab and then users will be setting the report tab themselves. They want the flexibility to group information as they wish. But I want to make it as user friendly as possible. And one challenge is there are many columns on the report. It would be time consuming if they had to manually create sum formulas for all the subtotal rows.
I created a solution using indirect formulas where the users enter the start row and end row and that is referenced in all the sum formulas. That works but makes the spreadsheet totally inflexible because the indirect formulas don't adjust if a column is added or removed.
Attached is a extremely simple version of what I'll working on.
Thanks in advance for any ideas!!!