How to use COUNTIFS for different text strings within one column?
Hello,
I can't figure out how to COUNT different text strings in one column.
COUNT how often "ABC" is in the TaskName column (=primary column) with its status "Green" (symbol) in the Status column AND COUNT how often is "Prot DEF" in the TaskName column AND COUNT how often is "KL" in the TaskName column all with its status "Green" in the Status column (IF). "Prot DEF" cells may also contain more text: eg. "Prot DEF 12.0", "Prot DEF 3.4".
=COUNTIFS([Task Name]:[Task Name], FIND("CSR", @cell, "Prot DEF", @cell, "KL", @cell), Status:Status, "Green") - this is not working!
Any help is much appreciated!!
Answers
-
Hi @Kirsten
I'm not sure what you're trying to do here.
Do you want to return 3 different counts (1 for each string) in one cell? Or do you want to return 1 count of all those 3 strings?
-
Hello David,
Thanks for reaching out!
I want to count all the text strings ('ABC', 'Prot DEF', 'KL') that are in the green status. I may have 2 times 'ABC' in green, 1 'KL' in green, and 'Prot DEF' in red = 3 counts.
Does this make more sense?
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.8K Get Help
- 406 Global Discussions
- 219 Industry Talk
- 457 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 297 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!