Hi there,
I'm trying to devise a formula that counts the number of multi-select selections in a cell that contain a certain string. The closest I've come is:
=COUNTM(COLLECT([Multi-select]@row, [Multi-select]@row, CONTAINS("STRING", @cell)))
However, this confirms the string is present in any of the selections and then returns the total number of selections. I've experimented with various options, including adding DISTINCT in a number of places, or switching to COUNT(DISTINCT(COLLECT())), but the result (when the string is present) has either been a 1 or the total number of selections.
To clarify, if there are 5 selections and 2 of them have the string in, I want to return a 2.
Thanks in advance!