How does this JOIN/COLLECT formula work in one sheet but not another, mirrored sheet?
This sheet originally had a formula that would COLLECT and JOIN the column names of every value in a row that was "Fail". It also separates the collected column names by ", " (comma and space). A coworker has changed the formula, and it still works, but only on this sheet. Now I can't remember my original formula, and I've never seen what they have with the "Fail" value being inside the column name brackets. Does anyone have any insight how this works, why only on this sheet, and how I can get the results I need with a similar formula that uses a range and doesn't list each column individually?
The formula:
=JOIN(COLLECT([Lights Fail]@row:[Steering Test Fail]@row, [Lights Fail]@row:[Steering Test Fail]@row, <>""), ", ")
Best Answer
-
It looks like there are hidden helper columns with formulas that output the column names that have failed and then the JOIN/COLLECT grabs the helper columns that are not blank.
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
Answers
-
It looks like there are hidden helper columns with formulas that output the column names that have failed and then the JOIN/COLLECT grabs the helper columns that are not blank.
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
You are exactly right! I had no idea helper columns were made, and I spent way too much time figuring that out. I couldn't see past the formula. I couldn't figure out how to delete my question afterwards.
Side note: @Paul Newcome , you are an unsung hero of many peoples' workday.
-
Happy to help. 👍️
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.9K Get Help
- 379 Global Discussions
- 212 Industry Talk
- 441 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 301 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!