My title is a little vague so I'll try to explain by including some sample data and formulas.
The only columns I'm having trouble translating to Alteryx are the ones I highlighted as green. (S, AC, AE).
You'll notice that column S references column AE in the formula. So I thought ok, I have to have a tool that calculates AE first.
But then AE references AC. So I figured ok, then the right order is a multi-row formula for AC, then another for AE, then another for S.
But then again, even AC, references back to S-1 (previous row). So it's somewhat of a circular formula reference that I'm not sure how to translate in alteryx.
Any assistance would be appreciated. You can use the sample data I provide as the input file, as long as you first zero out the highlighted columns so that the calculation is done from scratch by alteryx.