Indexing from different sheet with qualifier
Hi,
I'm trying to pull certain cells into a new sheet, but having issues with the syntax.
I'm referencing two columns, Test Name and Status, and trying to pull in all Test Names where the status is 'Live'.
My current formula results in #UNPARSABLE
=INDEX({Opt Roadmap1},COLLECT([Test Name]:[Test Name],MATCH("Live",[Status]:[Status])))
I know it would be simple to create a Report with a filter, but leadership is adamant on using Card View.
Best Answer
-
You then use a delimiter that would not be present in any of the collected cells which allows you to parse. There are a few parsing solutions out there in the Community. If you can't find one or need help making one work, feel free to let me know, and we will see what we can figure out. I personally have a couple of parsing solutions already built. I would just have to dig through notes to find them.
Answers
-
You would need to use a JOIN/COLLECT similar to...
=JOIN(COLLECT({Opt Roadmap Test Name Column}, {Opt Roadmap Status Column}, "Live"), "/\")
And then parse out the list based on the /\ delimiter into separate cells.
-
Thanks, I probably wasn't clear in my explanation.
I actually don't need to include the status, I'm using it more like a where clause.
I just need to pull in the Test Name from Sheet 1 (where status is live), into sheet 2
-
Yes. It won't pull the status. It will pull every cell from the test name column where the status column says "live".
-
You then use a delimiter that would not be present in any of the collected cells which allows you to parse. There are a few parsing solutions out there in the Community. If you can't find one or need help making one work, feel free to let me know, and we will see what we can figure out. I personally have a couple of parsing solutions already built. I would just have to dig through notes to find them.
-
Thanks @Paul Newcome
-
Using all the assistance from above, still getting #UNPARSEABLE. Including screenshot of code for direct reference
-
You need to remove the square brackets from around "Live".
-
You will also need to move one of the closing parenthesis to before the final comma to close out the COLLECT function before you specify your delimiter.
-
-
If you are wanting to parse your list down a single column, take a look at THIS SOLUTION that you should be able to adapt to your specific needs.
The linked solution uses a comma "," as the delimiter, so you will want to update everything so that either your JOIN formulas uses a comma or the parsing solution looks for "/\" instead.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 59 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!