Count # of values in a Multi-Select Cell
I have a multi-select column in my sheet, and I'm trying to count how many items are actually selected in each cell. Is there a way to do that? I've seen a post that suggested creating a "helper column", but can't figure out the formula that would actually do the count.
Comments
-
Depending on how many values you have in the dropdown you can use stacked countifs. It seems they have a space between each value so if you were to count individually that would have to be used.
-
This has been a popular request. The delimiter used is a line break which is CHAR(10). Using that knowledge, we can count how many characters are in the cell, then remove the delimiter and count again. Subtracting the first number from the second number then adding 1 will give you the count.
Smartsheet currently has a more direct solution in the works, but here's the formula for the above.
=LEN([Multi-Select Column]@row) - LEN(SUBSTITUTE([Multi-Select Column]@row, CHAR(10), "")) + 1
-
Can't edit the above, so...
*Subtract the second number from the first.
-
I've noticed that it seems to be a timing issue.
If you wait for a while you can edit.
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
Thanks. I'll have to keep that in mind.
-
Thank you so much!!! That worked!
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
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!