Hello!
Longtime lurker, first time poster. Trying to create a formula that will cross-check data in a cell then check a series of IFs to pull certain data from another sheet into a comma-limited cell. I've managed to get individual IF statements to pull correctly from the other sheet, checking appropriate information. Here's that section:
=IF(CONTAINS("Priority 1", [Priorities]@row), INDEX({INFO Priorities 1}, MATCH([Name]@row, {INFO Name}), 0))
However, I'm not sure how to achieve the joining of multiple cells for this. As in, I would like the formula to check if the ref cell has more than one Priority (there are 5), and return the ones it fines, like (Priority 1, Priority 3, Priority 5). I can make it work by use IF + IF, but it won't delimit (that I can figure out, anyway) and ends up a bash of words.
Is this possible with JOIN? I tried using this:
=JOIN(IF(CONTAINS("Priority 1", [Priorities]@row), INDEX({INFO Priorities 1}, MATCH([Name]@row, {INFO Name}), 0)), IF(CONTAINS("Priority 2", [Priorities]@row), INDEX({INFO Priorities 2}, MATCH([Name]@row, {INFO Name}), 0)), ",")
But it returned Incorrect Argument.
Thank you in advance for any advice!