Creating two charts linked to one pivot table?

theysaytrue

New Member
Joined
May 11, 2012
Messages
4
Hello. I have not been able to figure out a way to set up a second chart which is linked to the same pivot table, without it being the same exact chart.
I work in Excel 2007.

Here is a link to the document. https://docs.google.com/open?id=0B8rs9OQkod0qTmF5cU85QnZMV2c

I want to make two separate charts; one for Sum of Hours per period end date, the other for Sum of Amount per period end date.

Help please!
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Actually not JUST like that.
I see what you did now. But when the pivot table filters are changed (I removed the raw data from the link I posted, but there is a lot of it), then the chart still only shows the range from 40:47.
I need the charts to both work to show all the information the pivot table is displaying.
And if I set it to do that when both filters are set to "All", then when I use a filter the chart is full of blank space.

Is there a way to do this?? There must be!
 
Upvote 0
Ok, please check if this is closer to what you need, I however modified your pivot and removed the grand total as this would interfere with the chart.

Would that work for you?

Link to new file.
 
Upvote 0
Omg, I just typed the longest reply and clicked the wrong button and lost it all -__-
In short, I'm extremely impressed by your solution. It really works, but the grand totals are something that is necessary to the report that my boss wants.
Where did you come up with all that "!∑hours" stuff? I've never seen it before, BRILLIANT though.

I was able to find something that worked for me the other day, though it's certainly more complicated than your solution. I'll be sticking with it though. It's an example macro that I modified; I found it here http://www.excelforum.com/excel-general/497771-synchronize-pivot-table-page-fileter.html

Cyrilbrd, thank you SO much for taking the time to help me figure this out. I KNEW it could be done!
Again, where did you get those formulas from? How did you learn it could be done that way? because I never knew!
 
Upvote 0
well you could have used a Subtotal (9,range_of_the_pivot) set to the lower limit of the maximum range that your pivot could reach and modify the range of the Named Range to fit only this, but this said the macro is quite cool and seems to fit your needs!

Glad you found a solution.

Cheers!
;)
 
Upvote 0

Forum statistics

Threads
1,215,945
Messages
6,127,844
Members
449,411
Latest member
adunn_23

We've detected that you are using an adblocker.

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.
Go back
Back
Top