Update Row cross-sheet Examples?
I am new to Smartsheets so I'm looking for a bit of help...
What I am trying to do:
I want to use a form to subtract/update the inventory on my Smartsheet. I know a form cannot do that directly. I have seen a lot of Q&A regarding updating rows from sheet to sheet and the answer is always to use VLOOKUP or INDEX/Match. But with no examples that I have found so far. So here is what I have:
I have a parts inventory sheet with a unique identifier for each row and a column "Qty on Hand"
I have a blank "inventory update sheet" with a "Qty Removed" column
And I have a form to be used to populate the inventory update sheet for the parts being removed from the inventory. The Unique ID for the part is a required field.
Can someone please show me an example of how this is done? Or point me to a good example?
Thank you!
Best Answer
-
Hey @Dan West_TX
I'd be happy to help!
You'll want one column that identifies the original quantity on hand, which I am assuming is your "Parts Inventory Sheet" with the column "Qty on Hand".
Then you can have a second column that is "Remaining Qty" where you put your cross-sheet formula. In this instance, I would use a SUMIFS statement to SUM together all the Qty that's being recorded in your Inventory Update sheet, like so:
=SUMIFS({QTY Column Update Sheet}, {Unique Identifier Update Sheet}, [Unique Identifier]@row)
Then you can subtract this SUM from the original "Qty on Hand", like so:
=[Qty on Hand]@row - SUMIFS({QTY Column Update Sheet}, {Unique Identifier Update Sheet}, [Unique Identifier]@row)
Let me know if this is what you were looking for!
Cheers,
Genevieve
Join us for Jumpstart 2025 with Community on 23 January (in two time zones)! 🎉 Register here.
Answers
-
Hey @Dan West_TX
I'd be happy to help!
You'll want one column that identifies the original quantity on hand, which I am assuming is your "Parts Inventory Sheet" with the column "Qty on Hand".
Then you can have a second column that is "Remaining Qty" where you put your cross-sheet formula. In this instance, I would use a SUMIFS statement to SUM together all the Qty that's being recorded in your Inventory Update sheet, like so:
=SUMIFS({QTY Column Update Sheet}, {Unique Identifier Update Sheet}, [Unique Identifier]@row)
Then you can subtract this SUM from the original "Qty on Hand", like so:
=[Qty on Hand]@row - SUMIFS({QTY Column Update Sheet}, {Unique Identifier Update Sheet}, [Unique Identifier]@row)
Let me know if this is what you were looking for!
Cheers,
Genevieve
Join us for Jumpstart 2025 with Community on 23 January (in two time zones)! 🎉 Register here.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.1K Get Help
- 444 Global Discussions
- 141 Industry Talk
- 472 Announcements
- 5K Ideas & Feature Requests
- 83 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 489 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!