Iterative For loop? SUMIFS?

Hi all, I am a little stuck on capturing data without adding additional columns/helper sheet. I need to compare the 2 entries of inventory audit in the same column one by one. To do that I can think of using an iterative For loop. With the example attached below:

  • Is it possible to iterate each row, [audit#]1 - [audit#]2... [audit#]2 - [audit#]3...?
  • Is it possible to have variables? like a counter/Accumulator?
  • If API is needed, any recommendations?

May I please know how I can achieve my goal, which is to obtain Storage A's consumption amount?

Thanks!

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!