Refresh Pivot in current file, linked to named range in different closed file

deswanny

New Member
Joined
Feb 20, 2019
Messages
1
I have a spreadsheet file with one tab holding monthly data (large file with 300,000 rows and 55+ columns). This file is protected with a password to 'modify' and saved on a local network drive for several co-workers to access. We have saved it two different ways, one as a Power BI table name, and another version with a standard named range (to test if either works different)


I created a separate Excel file, saved on a network location but different folder. I inserted a Pivot table to perform ad hoc analysis of the data. I've tried both methods, either the Table name or the Named Range as the data source of the pivot table. Both work fine, when I have both the master data file and the 2nd pivot table file opened.


During a typical month, the Master Data table and file is updated and re-saved with new data by another co-worker. Once it's updated I want to open my 2nd file with the pivot table and just hit Refresh, without opening the main data file. When I do that I get an error saying "We couldn't get data from "NAMED RANGE" in the workbook..."Folder\file.xlsx". Open this workbook in Excel and try again"


However.... if I change the data source in my Pivot Table, 2nd file, to reference the Entire columns of the master file (ie: folder\filename.xlsx!$A:$BC ) the Pivot Table will refresh with no problems when the Master Data is closed. I've been told not to reference entire columns or rows as it uses too much memory, so a named range is better. We add columns periodically, along with new rows each month, so the data range will change.


Can I link a 2nd file to a master file with a Named Range / Table Name and have it update/refresh without opening the master data file?

Thanks!
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand

Forum statistics

Threads
1,214,644
Messages
6,120,709
Members
448,983
Latest member
Joaquim_Baptista

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