CountifS with Distinct
I need a function to count how many time a territory as unique SIDs in a sheet. I tried the function below but it won't work.
=COUNTIFS({Total URV Visits Range SID}, DISTINCT({Total URV Visits Range SID}), {Total URV Visits BEC}, District@row)
Best Answer
-
Try a COUNT/DISTINCT/COLLECT instead.
=COUNT(DISTINCT(COLLECT({Total URV Visits Range SID}, {Total URV Visits BEC}, @cell = District@row)))
Answers
-
@frob What are you trying to do? Can you post some screens? I don't think you are using DISTINCT correctly.
-
Try a COUNT/DISTINCT/COLLECT instead.
=COUNT(DISTINCT(COLLECT({Total URV Visits Range SID}, {Total URV Visits BEC}, @cell = District@row)))
-
I need to count how many times this sheet has a unique SID for Appalachian for example.
-
Did you try my formula?
-
I did. It says unparsable.
-
Can you provide a screenshot of the formula open in the sheet as if you are about to edit it?
-
This is my summary sheet that I'm trying to pull the counts into so I can make a graph.
-
You entered an extra closing curly bracket after the second cross sheet reference that needs removed.
-
Arg!! It's always something dumb like a bracket or comma. It works now! Thank you!!!
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!