Help with Formula to Count Projects
Hi all,
I'm trying to create a formula in Smartsheet that counts the number of projects a team member is assigned to. In the report I have, the names are listed as first initial + last name (e.g., JDoe), but I want to summarize them using last name, first name (e.g., Doe, John). I was considering using a CONTAINS function to match the names, but I'm not sure how to make it work without manually updating the list.
Is there a way to count the projects assigned to each team member using the different name formats without updating my list manually? Any advice would be appreciated!
Thank you in advance!
Answers
-
Hi, I would use a second sheet for generating the metrics. I would have a column for first name, and a column for last name, then add a helper column that simply uses a formula to "recreate" the JDoe entry (use the LEFT function to extract first letter of firstname + lastname), then lastly I would count using a countif that matches my recreated name against the main sheet name. So my metric sheet would have 5 columns (lastname comma firstname, firstname, lastname, username, count). Then you can report (or make charts/graphs) from the metric sheet to show your results. Does that make sense?
-
Hi Adam,
Thanks for your suggestion. Would you mind outlining the recreate formula, I am not familiar with it.Thanks
-
Hi @aneves
Here's the formula you can use. =LEFT([First Name column]@row, 1)+[Last Name column]@row)
Thanks,
Aravind GP| Principal Consultant
Atturra Data & Integration
M: +61493337445
E:Aravind.GP@atturra.com
W: www.atturra.com
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!