INDEX COLLECT HAS FUNCTION (MAYBE NEED JOIN FUNCTION ALSO)

I have a sheet that receives testing requests for teams, with automation to send the communication. I was using INDEX MATCH to cross reference another sheet that has CONTACTS for each TEAM and it worked great if only 1 team is selected. I am trying to figure out the correct formula to return all contacts for all teams selected. (Some teams might have the same contacts but I only want the duplicate contact names listed once for the testing request.)

The TEAMS column is Multi Select.

The CONTACTS column is a Contact list set to "Allow multiple contacts per cell".

This is the formula I currently have in the CONTACTS column is...

=INDEX(COLLECT({Cross reference sheet CONTACTS }, {Cross reference sheet TEAM}, HAS(@cell, TEAM@row)), 1)

With more than one TEAM selected it returns... #INVALID VALUE

Best Answer

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!