Copy specific cells via Workflow/Automation
Apologies if this has already been answered but couldn't seem to find anything posted about it.
I see how the workflows operate with creating an entire new row, but I only want specific data from that row to be transferred from one sheet to another.
An example of this is we leverage the forms for an intake system. The data collected from that form may have 10 columns of data. If there is a status change (the trigger), I would want to take specific information from the row (not copy all 10 columns) but lets say I only want the data from columns 1, 4, and 7 to be copied from the one sheet to another. Is that possible within Smartsheet?
TIA
Best Answer
-
Hi @fishey9999, the easiest way to do that is to simply use a formula on the receiving page, such as:
=INDEX(COLLECT({target data on source page}, {unique id on source page}, uniqueID@row),1)
You can ensure that the formula only triggers when your conditions are met by adding an additional formula, such as:
=IF(COUNT({source page condition 1}, "condition1", {source page condition 2}, "condition 2")>0, INDEX(COLLECT({target data on source page}, {unique id on source page}, uniqueID@row),1))
IF you want the actual hardcoded values copied over, the best way to do that is with DataMesh, which requires an additional license. I also have detailed a method using an intervening sheet, which I lay out in this post:
Answers
-
Hi @fishey9999, the easiest way to do that is to simply use a formula on the receiving page, such as:
=INDEX(COLLECT({target data on source page}, {unique id on source page}, uniqueID@row),1)
You can ensure that the formula only triggers when your conditions are met by adding an additional formula, such as:
=IF(COUNT({source page condition 1}, "condition1", {source page condition 2}, "condition 2")>0, INDEX(COLLECT({target data on source page}, {unique id on source page}, uniqueID@row),1))
IF you want the actual hardcoded values copied over, the best way to do that is with DataMesh, which requires an additional license. I also have detailed a method using an intervening sheet, which I lay out in this post:
-
Thanks for that Lucas!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.1K Get Help
- 348 Global Discussions
- 199 Industry Talk
- 427 Announcements
- 4.4K Ideas & Feature Requests
- 133 Brandfolder
- 127 Just for fun
- 127 Community Job Board
- 455 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 282 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!