Are there existing templates or workflows to harvest high level annual data and compile it into a multi-year summary? Something like the Live Profit & Loss sheet but where every column represents a year, and the groups but not the categories are show for simplicity?
Hi @Caroleen there are a few options that come to mind:
I think those are all at the category level.
Another option would be to create a pivot table. If you add both the Group and Year columns to your Transactions sheet you could use Group instead of Category and then Year instead of Month.
I realize your request is from 3 years ago but I thought Iâd reply for anyone else who is reading, assuming you found a workaround.
I needed a multi-year report based on category. I achieved this by creating a new sheet and using a query function. I had it exclude things I didnât care about like Transfers, Reimbursement, Credit Card Payment and Investments b/c these items would skew the numbers for me.
=QUERY(QUERY({Transactions!B2:B, Transactions!D2:D, Transactions!E2:E, ARRAYFORMULA(YEAR(Transactions!B2:B))}, âSELECT Col2, SUM(Col3) WHERE Col3 IS NOT NULL AND Col2 IS NOT NULL AND Col2 <> âTransferâ AND Col2 <> âReimbursementâ AND Col2 <> âCredit Card Paymentâ AND Col2 <> âInvestmentsâ AND Col2 <> âIncomeâ GROUP BY Col2 PIVOT Col4â, 0), âORDER BY Col2â)
To show a multi-year view of expenses by category, I modified the query statement to get the groups from the Categories sheet:
=QUERY({Transactions!B2:B, ARRAYFORMULA(IFERROR(VLOOKUP(Transactions!D2:D, Categories!A2:B, 2, FALSE),ââ)), Transactions!E2:E, ARRAYFORMULA(YEAR(Transactions!B2:B))}, âSELECT Col2, SUM(Col3) WHERE Col3 IS NOT NULL AND Col2 IS NOT NULL GROUP BY Col2 PIVOT Col4â, 0)
Should this query work by default against the Foundation Template? Iâm getting an error and would really like to have year over year comparisons (for multiple years).