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
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 142 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!