Smartsheet Automations
Hi Smartsheet Community,
I need to create a Smartsheet Automation to move rows into an archive sheet when record id appears in the Primary sheet, but does not appear in the Uploaded sheet.
Another Automation that I need to create is to copy rows into the Primary sheet when the record id appears in the uploaded sheet but does not appear in the Primary sheet.
Appreciate your help with this!
Thanks,
Islam
Answers
-
Hi, Islam.
One way to accomplish this is to add a columns to your Primary Sheet and Uploaded Sheet that check whether the record exists / does not exist in other sheets.
For example, you could create a checkbox column on your Primary Sheet that checks whether the record is on the Uploaded Sheet using this formula:
=IFERROR(IF(INDEX({Uploaded Sheet Record ID}, MATCH([Record ID]@row, {Uploaded Sheet Record ID}, 0)) = 1, 0, 1), 0)
If the record exists in the Uploaded Sheet, the box will be checked. It will be unchecked if there is no match.
Repeat this same thing on your Uploaded Sheet to evaluate whether a record exists in your Primary Sheet:
=IFERROR(IF(INDEX({Primary Sheet Record ID}, MATCH([Record ID]@row, {Primary Sheet Record ID}, 0)) = 1, 0, 1), 0)
Now, you can create your workflows to move / copy rows using this checkbox columns as the trigger / condition for moving or copying. More details about those workflows are here: https://help.smartsheet.com/learning-track/smartsheet-intermediate/move-and-copy-rows
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64K Get Help
- 410 Global Discussions
- 220 Industry Talk
- 459 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 138 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives