Help with IF / CONTAINS Function
Hi!
I am trying to write a formula that will look at a description column, see if it contains a specific string of text, then return a list of adjacent cells where the formula is true.
Said another way, I want to type a string into a cell (A1), look at the description column on another sheet, then return a list in column B of reference numbers that are adjacent to the cells that contain the string from A1.
Any help would be greatly appreciated!
Best Answer
-
You would need to use a JOIN/COLLECT.
=JOIN(COLLECT({Sheet B Adjacent Column}, {Sheet B A1 Column}, CONTAINS(A1, @cell)), "delimiter_of_choice")
Answers
-
You would need to use a JOIN/COLLECT.
=JOIN(COLLECT({Sheet B Adjacent Column}, {Sheet B A1 Column}, CONTAINS(A1, @cell)), "delimiter_of_choice")
-
That worked perfectly, thanks!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.8K Get Help
- 474 Global Discussions
- 205 Use Cases
- 516 Announcements
- 5.5K Ideas & Feature Requests
- 87 Brandfolder
- 157 Just for fun
- 82 Community Job Board
- 521 Show & Tell
- 36 Member Spotlight
- 3 SmartStories
- 309 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!