How do i use distinct with conditions please?

MazU
✭✭✭✭✭
I have a column called nominators with multiple names and i want to do count distinct on this column but with a condition
i want to filter the distinct by the year column as per below
i thought the formula would be:
=DISTINCT(IF({Colleague of the Month Range 3}=2023){Colleague of the Month Range 6})) but it's returning as unparseeable
Can anyone advise please,i would really appreciate it!
Tags:
Best Answer
-
You would use a COUNT/DISTINCT/COLLECT combo like so:
=COUNT(DISTINCT(COLLECT({Range 6}, {Range 3}, @cell = 2023)))
Answers
-
You would use a COUNT/DISTINCT/COLLECT combo like so:
=COUNT(DISTINCT(COLLECT({Range 6}, {Range 3}, @cell = 2023)))
-
@Paul Newcome Thank you Paul, I managed to do it. I kept getting the arguments mixed up but got them in the right order!
Help Article Resources
Categories
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!