Has anyone every had to create a column adjacent to a pivottable and then tried to create sub-totals and grand-total for that manual column?
I'm having a hell of a time trying to figure this one out either with an Excel worksheet formula or via VBA.
I had to create a new column adjacent to my pivot table, because the values of the new column were based on the values of the pivot table (whether totals from inside the pivot table are positive or negative). Now I want sub-totals from my new column.
I cannot put the values of my new column inside the source data as the values of the new column are a formula based on the pivot table data.
Here's an example.
I cannot figure out how to total the 25, 45 and 70 in the Positive Values column. This must be either a formula that I can fill down or I need to populate it via VBA.
Any ideas?
I'm having a hell of a time trying to figure this one out either with an Excel worksheet formula or via VBA.
I had to create a new column adjacent to my pivot table, because the values of the new column were based on the values of the pivot table (whether totals from inside the pivot table are positive or negative). Now I want sub-totals from my new column.
I cannot put the values of my new column inside the source data as the values of the new column are a formula based on the pivot table data.
Here's an example.
Code:
[tt][b]
Day Time Dollars Positive Values[/b]
Sun 9AM $25 $25
Sun 10AM $(10) $0[b]
TOTAL SUN $15 $25[/b]
Mon 9AM $(15) $0
Mon 10AM $45 $45[b]
TOTAL Mon $30 $45
GRAND TOTAL $45 $70[/b]
[/tt]
I cannot figure out how to total the 25, 45 and 70 in the Positive Values column. This must be either a formula that I can fill down or I need to populate it via VBA.
Any ideas?