Combining Data from a Group of Cells based on Another Cell's Data
Hello Smartsheet Community!
We have a situation where we have a column A for Shipping Options (Store or Other).
We have column B that is combining other shipping details from columns C-H .
If column A is listed as Store, we do not want column B to combine the data from columns C-H, it should remain blank
If column A is listed as Other, we want column B to combine the data from columns C-H.
This is what we are using to combine the data from columns C-H, but we are unsure of how to add in the if statements to reflect the data in column A. =JOIN([Column C]@row:[Column H]@row, " ")
As always, thank you in advance for your assistance! 😊
Best Answer
-
You can create an IF function with logic to check the contents of column A and return your formula if A is other and return nothing if anything else. Does that sound like it would work?
=IF([Column A]@row = "Other", JOIN([Column C]@row:[Column H]@row, " "))
Answers
-
You can create an IF function with logic to check the contents of column A and return your formula if A is other and return nothing if anything else. Does that sound like it would work?
=IF([Column A]@row = "Other", JOIN([Column C]@row:[Column H]@row, " "))
-
Thank you so much, @KPH !!! Have a great Friday!
-
Happy Friday to you, as well.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.8K Get Help
- 376 Global Discussions
- 207 Industry Talk
- 440 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 284 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!