Count of free text cells on a dashboard
I have a projects list that is continuously being updated with a field labeled "location".
How can I count the number of instances of each location to place on a dashboard.
It's continuously changing so I cannot just put "countif" function.
Best Answer
-
Add an auto number column to your sheet called LINE-ID.
Then create a new column and add the below as a column formula.
=IF(AND(location@row <> "", MATCH(location@row, location:location, 0) = MATCH([LINE-ID]@row, [LINE-ID]:[LINE-ID], 0)), COUNTIFS(location:location, location@row))
You can then run a report on this column (where value is not blank) and show the location column next to it...
Answers
-
Do you know all the possible locations, or can there be new unknown locations added?
How many locations can there be, do you think?
Can you describe your process in more detail and maybe share the sheet(s)/copies of the sheet(s) or some screenshots? (Delete/replace any confidential/sensitive information before sharing) That would make it easier to help. (share too, andree@workbold.com)
I hope that helps!
Be safe and have a fantastic weekend!
Best,
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
✅Did my post(s) help or answer your question or solve your problem? Please help the Community by marking it as the accepted answer/helpful. It will make it easier for others to find a solution or help to answer!
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.
-
Absolutely
The goal is to keep it as a free text. That way locations can be added. This is what makes it difficult. An example below:
1st floor
1st floor
Lab2
Pavilion
Lab2
Lab2
So in that instance, how can I create a dashboard that should there are 3 projects in the lab, 2 projects in the 1st floor, and one project in the pavilion?
Thanks for the assistance!
-
Add an auto number column to your sheet called LINE-ID.
Then create a new column and add the below as a column formula.
=IF(AND(location@row <> "", MATCH(location@row, location:location, 0) = MATCH([LINE-ID]@row, [LINE-ID]:[LINE-ID], 0)), COUNTIFS(location:location, location@row))
You can then run a report on this column (where value is not blank) and show the location column next to it...
-
Happy to help!
I saw that Leibel answered already!
Let me know if I can help with anything else!
Best,
Andrée
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.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!