I've been using an app called Calctape[0] for years that sounds similar to what you're describing.
It's essentially a 4-function calculator that records every step on tape, but you can edit any digit anywhere and all related steps are immediately recalculated, like on a spreadsheet.