I am trying to create a loan movement table using dynamic arrays as in the table below. Period column is spilled using =SEQUENCE(A1), so that it can be adjusted. My problem is that I cannot reference the prior period closing balance in the current period opening balance (red text), without creating a circular reference error. I tried using XLOOKUP, OFFSET and INDEX. The circular reference doesn't really exist, because the previous row is returned, but because Closing Balance range depends on Opening Balance range and vice versa, excel assumes it does.
Notes:
Period | Opening Balance | Interest | Payment | Closing Balance |
1 | 10.000 | 100 | (1.000) | 9.100 |
2 | 9.100 | 100 | (1.000) | 8.100 |
... | ... | ... | ... | ... |
Notes:
- I would rather not enable iterative calculations if they can be avoided.
- I can easily solve this using excel tables, but the table size cannot dynamically expand (at least not natively) and the number of periods may vary.
- Interest and Payment columns are proper spilled ranges in sheet, but not relevant here