I found another thread from 2019 asking about this, but it has been ‘solved’ by not adding new columns to the accounts tab.
In my case I’d like to add a closed column so I can filter out closed accounts in the Balances sheet. I’ve seen other suggestions (like set the Hide column to ‘Closed’ and reference that), but that breaks other things (like the Tiller Dashboard addon).
If I add a column to the Accounts sheet it currently breaks. I did some debugging and was able to fix the Accounts sheet itself by removing a bunch of seemingly unnecessary INDIRECT function calls.
The Unique Account Identifier column had this:
={"Unique Account Identifier";arrayformula(if(isblank(INDIRECT("G2:G")),iferror(1/0),INDIRECT("J2:J")&" - "&INDIRECT("K2:K")&" ("&upper(right(INDIRECT("G2:G"),4))&")"))}
I’m not really certain why it is using INDIRECT to directly reference a column instead of just directly referencing the columns? Either way, removing these doesn’t seem to break anything and it allows the sheet to automatically update the reference (e.g. G => H) when a new column is added (instead of continuing to reference G, when it is now H).
={"Unique Account Identifier";arrayformula(if(isblank(G2:G),iferror(1/0),J2:J&" - "&K2:K&" ("&upper(right(G2:G,4))&")"))}
I had to replace INDIRECT(“G2:G”) with G2:G in the ‘Account Id’ and ‘Last Balance’ columns as well. Not going to include the full script here because it gets a bit long.
The “Balances” and “Insights” sheets seem to work fine after this, but unfortunately the ‘Net Worth’ sheet needs more work. The ‘Sheet References’ (Net Worth - AX) doesn’t seem to pick up the change, haven’t dug into why on that yet. The ‘Sheet References’ section in the ‘Balances’ sheet works fine, so it should be easy to fix at least.
I don’t have the ‘Debt Progress’ or ‘Business Dashboard’ sheets referenced in the other post from 2019.
Can we get this working? It seems relatively straightforward so far but I’m worried that the rabbit hole is deeper than I realize and that there are more issues I am missing. Has anyone dug into this before?
Edit: I added the ‘Debt Progress’ sheet and it seems to work fine. I don’t see the ‘Business Dashboard’ sheet.