Count Number of Cells that Contain Certain Text?
Comments
-
Hey @Irene Dee
Sure! You can use <> to indicate "does not equal" and then use CONTAINS to search for CMC:
=COUNTIFS(Document:Document, 1, Discipline:Discipline, <> CONTAINS("CMC", @cell), Status:Status, "Not Started")
-
For some reason I'm getting an #INVALID OPERATION message now. Any ideas the cause?
Thanks!
-
Hi @Irene Dee
My apologies! We need to use NOT() around Contains, instead of <>
=COUNTIFS(Document:Document, 1, Discipline:Discipline, NOT(CONTAINS("CMC", @cell)), Status:Status, "Not Started")
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- 10.7K Get Help
- 63 Global Discussions
- 69 Industry Talk
- 385 Announcements
- 3.5K Ideas & Feature Requests
- 55 Brandfolder
- 125 Just for fun
- 50 Community Job Board
- 464 Show & Tell
- 40 Member Spotlight
- 44 Power Your Process
- 28 Sponsor X
- 234 Events
- 7.3K Forum Archives
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!