Index Collect formulae

Options

Hi,

I am using the below formulae to bring in the $ value tied to a Project ID. Works fine. - =INDEX(COLLECT({YTD Revenue}, {P ID}, CONTAINS([Reference / Notes/ P. ID]@row, @cell)), 1)

Issue - Whenever there are scenarios with 2 or more Project IDs, I have to replace Reference / Notes/ P. ID with the actual "project ID" and then use the same formulae twice supported by a "+" sign in between. Or I do a Sum(Index(Collect())

Is there a way, that I can use the above listed formulae string but write the 2 Projects ids separated by comma or in parenthesis or something in such a way that Reference / Notes/ P. ID]@row find the distinct $ values and adds them.

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!