COUNTIF CONTAINS HELP
Hello,
I am trying to get a count of how many Greenwaste projects are completed on the sheet.
Here is my fx: =COUNTIFS([District Site]1:[District Site]219, "Greenwaste", Status1:Status219, ("Completed"))
^^^ is returning a zero right now, it should count at least 3 as completed. Can someone let me know what I am doing wrong? Your help is appreciated very much!
Best Answer
-
Hi @KristiTRUSD
I'm glad you were able to figure it out! Yes, if you type a criteria "in quotes" the formula will only look for an exact match.
You could use CONTAINS if you're looking for any cell that contains a certain value.
You may also want to remove out the Row Numbers from your [Column References] so that it will search your entire sheet as new rows are added:
=COUNTIFS([District Site]:[District Site], "Greenwaste", Status:Status, "Completed")
Cheers,
Genevieve
Join us at Smartsheet ENGAGE 2024 🎉
October 8 - 10, Seattle, WA | Register now
Answers
-
Never mind, I figured it out. I wasn't putting the entire statement I wanted SS to search for.
-
Hi @KristiTRUSD
I'm glad you were able to figure it out! Yes, if you type a criteria "in quotes" the formula will only look for an exact match.
You could use CONTAINS if you're looking for any cell that contains a certain value.
You may also want to remove out the Row Numbers from your [Column References] so that it will search your entire sheet as new rows are added:
=COUNTIFS([District Site]:[District Site], "Greenwaste", Status:Status, "Completed")
Cheers,
Genevieve
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
- 445 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 283 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!