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
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!