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
Need more information? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao!👋 | Global Discussions
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
Need more information? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao!👋 | Global Discussions
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.8K Get Help
- 474 Global Discussions
- 205 Use Cases
- 516 Announcements
- 5.5K Ideas & Feature Requests
- 87 Brandfolder
- 157 Just for fun
- 82 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!