Pivot table data source not staying within the file

Copper Contributor

Hi

I've got a lot of pivot tables working of a large dataset all in one excel file.  Only issue is that as I save the file on diff dates I want version control but the pivot tables then keep looking at the original data source file when it was first created they don't just keep referring to the tab within the file.  I'm not changing tab names or anything else just the file name.

 

Is there an easy was to update the pivot tables so it stops looking externally for the data source?  I don't want to apply a macros but this is really annoying given the number of pivot tables in the file

 

4 Replies

@EMcil82 

 

If you have the Data tool bar open, you should, with your screen open to the Pivot Table, be able to click on "Refresh All" to have it update the data on which the Pivot Table is based.

@mathetesbut that's the problem.  If you save the file after doing work and put a new description on the file the pivot table then looks to the old file for the dataset it doesn't keep the connection within the current file being worked on.  It's crazy that every time I do a 'save as' and rename the file I then have to go and change all the data sources of the pivot tables to look at the new file and not the previously named file.  make sense?

@EMcil82 

 

It does make sense.

 

And after following the thread that @EMcil82 gave, I see it's not a new problem, nor one that's easily resolved. I had missed in the first instance that you were getting data from a different spreadsheet (different file).

 

I've had similar issues with a workbook I created that pulls data for financial analysis from a daily download from a brokerage....there've been occasions when I've moved from one computer to another with those files in 'the cloud" and then gotten all kinds of error conditions when I'm expecting my main analytical sheet to link with the fresh downloads. Frustrating, to be sure. Even when it looks to me as if all files are within the same folder, on the same desktop.... 

 

So I feel your pain, but have no ready solution either.