Hi Community,
I have a sheet that contains, among others, columns titled "Priority" and "Contract ID". Multiple rows can have the same Contract ID and the same Priority. Priority values are 1-2-3 and restricted to dropdown list values only. To collect the number of unique Contract IDs that are Priority "1", I have this formula in the sheet summary:
=COUNT(DISTINCT(COLLECT([Contract ID]:[Contract ID], Priority:Priority, "1")))
That returns a correct count. Same thing for Priority "3":
=COUNT(DISTINCT(COLLECT([Contract ID]:[Contract ID], Priority:Priority, "3")))
But my formula for Priority "2", which I copy-pasted from these and only changed the value between the quotation marks, returns a count of "1":
=COUNT(DISTINCT(COLLECT([Contract ID]:[Contract ID], Priority:Priority, "2")))
I checked the data in the Priority column and the 2 values are just 2, no additional spaces or other characters. I deleted all the 2s and re-entered them, and still the formula comes back with the same count of "1".
I'm completely stumped - I even asked the AI to write a new formula to collect the data, same result. Can anyone help?