I know very little Excel, but can’t you create a loop with it?
I know very little Excel, but can’t you create a loop with it?
// initial
A1 = 0
A2 = 100 (the limit)
A3 = =A3+A1 (self referential, 0 initial)
// somehow
A1 = 1
A2 = 100
A3 = =A3+A1 == 1
If you could refer to previous values it might be possible, but would also force some synchronization into the process that might be problematic. Like you'd need A1 to only update after A3 has had a chance to read it, then the next, then the next.Or solver.
Options exist for iterations and maximum change directly with circular references.
https://bettersolutions.com/excel/formulas/circular-referenc...
Adding in indirect/offset/lookups/indexes etc - I've gotten surprisingly far.
I'm also OK doing VBA BUT the MAJOR downside of VBA - horrendous to share it and got worse over time for security reasons.
Excel without VBA - you can give the "program" to anyone, and almost anyone can use it (and in a pinch change it).
The reason being Excel is a tool designed for performing operations on tabular data not designed for general data programming. If you needed programming there was always VBA which was proper so they never wanted to muck it up. LAMBDA made its way in because people wanted reusable function compositions for their tabular data without having to enable the security PITA that is allowing full macros/VBA which can do a lot more than interact with just the data inside the spreadsheet.
Additionally if only data transformations are required, there is the F# inspired Power Query.
offsets and indirects also exist in that twilight zone being volatile functions.
these three combined can bring down a reasonably sized spreadsheet.