Pivot Table From Another Workbook

mouse88

Board Regular
Joined
May 24, 2011
Messages
148
I have a workbook called MainData which contains a table.

I have another workbook called TeamView which needs to have a pivot table based on the table in the MainData workbook.

I tried to isert the pivottable and click to the table in the MainData workbook but instead of referencing the table it only references the cells i select to if data gets added to the main table it won't be included in the pivot table.

I tried to set up a connection to the table but all the values came in the pivot table as 1 which is incorrect.

Any ideas?

Thanks

Matt
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Dont think this is quite what I was after.

I wan't the pivot table to automatically include any data that is added to the table in the main work book. I don't really want to have to go in to the main work book and change a named range or edit the source of the pivot table.

This would be all well and good for me but for other users that aren't to knowlegable with excel it may be a problem.
 
Upvote 0
I managed to get it kinda working. I clicked and highlighted all of the table so it references the other workbook and then replaced the range with the name of the table. This works but only if the other work book is open. If it is not open it says invalid range.
 
Upvote 0

Forum statistics

Threads
1,224,590
Messages
6,179,762
Members
452,940
Latest member
rootytrip

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