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")
Join us at Smartsheet ENGAGE 2024 🎉
October 8 - 10, Seattle, WA | Register now -
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")
Join us at Smartsheet ENGAGE 2024 🎉
October 8 - 10, Seattle, WA | Register now
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.3K Get Help
- 364 Global Discussions
- 199 Industry Talk
- 428 Announcements
- 4.4K Ideas & Feature Requests
- 136 Brandfolder
- 127 Just for fun
- 128 Community Job Board
- 444 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 283 Events
- 35 Webinars
- 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!