Main Google Sheet with only one account populated (less data to clear when entering your own data).
Demo Google Sheet with multiple accounts populated to illustrate how it works.
Main Excel workbook with one account populated.
Demo Excel workbook with multiple accounts populated to illustrate how it works.
- Introduces macros (Excel) and Apps Script (Google Sheets) to automate data transfer from previous populated PIRS file. For Excel you need to enable macros when opening the file. For Google Sheets, you will need to authorize it to access your Google Drive. The Google Sheets version is not as elegant as the Excel version because I had to break up the scripts to stay within the 6 minute script execution time limit. The GS version is very slow, it takes about 10 minutes to transfer the DEMO data compared to 40 seconds for the Excel version. If/once I figure out how to make the Google Sheets version more efficient (it seems that I have to reduce the number of API calls) I'll restore the parallelism.
- Bug fix for Growth of $10k on portfolio sheet (v7.0 fixed account sheets, but I forgot the portfolio sheet). BTW, I don't have confidence that the Growth of $10k chart is accurate for data series that have large cashflows relative to the balance. I plan to reexamine this in the future.

Google Sheets version: more steps are required. On sheet MyPortfolio, when you click the first blue button you will be asked to authorize the PIRS script. See README.

After authorizing the PIRS script, you will be asked to enter the previous PIRS file ID. This can be found in the URL of the file after the /d/ and before /edit. I briefly looked at trying to use the Google Picker API to open a file dialog but gave up for now.

You must wait for the blue "Copy MyPortfolio" button and the instruction text above it to disappear before proceeding to the next step.

For the next step, you will click the "Copy Next 5 Accounts" button as many times as you need to transfer all of your account sheet data, waiting each time for the copy action to complete before clicking it again. To create the DEMO file from the main file, I clicked it twice (8 accounts, 5 copied on first click, wait for script to complete, then 3 on second click). Once the second blue button has disappeared, you click the third button to finish the script.
The GS version is painfully slow. I can manually copy/paste the data in about half the time as the Apps Script. If anyone has suggestions on how to speed it up to get closer to the 40 seconds that the Excel version takes, please let me know.