Move a row to a new sheet based on an entry on a separate sheet
Hello,
My company has a sheet titled active employee roster which has every employee in the company. We are trying to create a new Offboarding sheet that will then find the employee on the Active Employee roster sheet and then move them to a 3rd sheet labeled Offboarding Archive. I am struggling to create a solution for this problem. I am thinking a combination of index matching and automations would make it work, but I have not quite figured out the solution yet. Does anyone have suggestions?
Answers
-
If I understand your use-case correctly (feel free to correct if I don't) - you want the following to happen:
- You have a list of active users
- You have a different list of users who should be deactivated (the Offboarding sheet you mentioned)
- You have an archive sheet of users (Offboarding Archive) where user rows should get moved
This should be fairly simple to implement, and might even be possible without using the Offboarding sheet (depends on use-case).
In essence, I'd start with creating a checkbox column on the Active Employee sheet that indicates that the user needs to be offboarded (maybe call it Offboarding Required). That value can either be set manually if desired, or via formula from your Offboarding sheet - you had mentioned Index/Match, personally I'd probably use something like Countifs() or Count(Collect()) as you really don't need to return any information, just whether or not that user exists in that other table.
Then you can set up the automation to be triggered by Offboarding Required changing to Checked which will move the row to the Offboarding Archive sheet. You can always build in safety via row filters or a delay in order to avoid accidentally offboarding employees.
Hope this was helpful and gets you moving in the right direction! Happy to elaborate further if you need.
Help Article Resources
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
- 137 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!