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
-
You could do this with a series of IF() statements that evaluate your criteria and output based on the result with the operators you need
School of Sheets (Smartsheet Partner)
If my answer helped please accept and react w/π‘Insightful, β¬οΈ Vote Up, β€οΈAwesome!
-
how about the scalability with using If statements, we are expecting audit numbers to go to 1000+?
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.9K Get Help
- 474 Global Discussions
- 208 Use Cases
- 517 Announcements
- 5.6K Ideas & Feature Requests
- 87 Brandfolder
- 157 Just for fun
- 84 Community Job Board
- 521 Show & Tell
- 36 Member Spotlight
- 3 SmartStories
- 309 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!