Formulas and Functions

Formulas and Functions

Ask for help with your formula and find examples of how others use formulas and functions to solve a similar problem.

Trouble with join/collect or index/match, with multiple columns and multiple results

Hello,

I can't seem to get this right and after too many hours on this, I am escalating it to the formula masters of this great community once again.

I am attempting to create a cell that will collect and join all the matched criteria from two different columns with the same criteria. There are multiple matches in both columns, and each time it matches I want it to grab the result from a third column and join all the results into this single cell. I have put the example of what I am trying to do below, screenshots, and the formula I am currently working with.

Current Formula: =JOIN(COLLECT({Sim Debrief Raw Data Range 1}, {Sim Debrief Raw Data Range 2}, HAS({Sim Debrief Raw Data Range 3}, [Primary Column]@row)), " ")

I have two sheets I am working on, one with the data I am trying to pull, and the new sheet gathering this data.


So in the transport preparation cell, I would like it to list every result when there is a match for this employee's number (the far left column) from the datasheet. However, the employee number will be listed multiple times and in two different columns on the same sheet.


So for the three instances found between the two columns, I would like the cell to pull and join the three results from the column range. I have tried many different ways of doing this and I am just stuck. Any help would be appreciated!

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!

Trending in Formulas and Functions