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
- Customer Resources
- 67.9K Get Help
- 474 Global Discussions
- 208 Use Cases
- 517 Announcements
- 5.6K Ideas & Feature Requests
- 87 Brandfolder
- 157 Just for fun
- 84 Community Job Board
- 521 Show & Tell
- 36 Member Spotlight
- 3 SmartStories
- 309 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!