Here’s a simple excel for loop with iterative calculation.
https://access-excel.tips/excel-iterative-calculation/
Here’s an example from chemical engineering of iterative calc. https://www.aiche.org/chenected/2017/03/excel-tip-6-use-exce...
There’s also an evolutionary and linear solvers for optimization problems, but that’s again something that’s more of an add in.