How do i use distinct with conditions please?
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!
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!
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.3K Get Help
- 446 Global Discussions
- 144 Industry Talk
- 478 Announcements
- 5K Ideas & Feature Requests
- 85 Brandfolder
- 151 Just for fun
- 72 Community Job Board
- 490 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 302 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!