Counts of values in a multi-select column
I'm trying to count the number of values in column that allows for multi-select.
In this case, column is Contract Type - and the request can involve multiple contract types...I'd like to be able to count/total individual the types of contract types.
Best Answer
-
The @cell reference just tells the formula to look at each cell within the range individually. The reason you are returning unparseable is because of the square brackets around your cross sheet reference. Removing those to leave only the curly brackets should do the trick for you.
Answers
-
Hi @Shawn Borror,
I found a great example of a formula that counts the number of times a specific value appears in a multi-select dropdown list column in this community post here: https://community.smartsheet.com/discussion/comment/233516#Comment_233516
I hope this helps!
-
In addition, if you are wanting to count how many times a specific type appears even if there are others selected within the same cell, you would use the CONTAINS function instead of the HAS.
=COUNTIFS([Multi-Select]:[Multi-Select], CONTAINS("contract type", @cell))
The HAS function will only count exact matches, so if you are looking for how many cells have that contract type ONLY and no others selected, then the HAS function would be the way to go.
-
What does the @cell represent here?
=COUNTIFS([{Legal Work Queue Range 6}], CONTAINS("contract type", @cell="MDA")
This returns unparsable...
-
The @cell reference just tells the formula to look at each cell within the range individually. The reason you are returning unparseable is because of the square brackets around your cross sheet reference. Removing those to leave only the curly brackets should do the trick for you.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!