Countifs and Contains formula combined calculate a 0
Hello, I'm trying to count how many times the word"Blended" shows up in the Class column when the stage column is "proposal". I'm using the following formulas which always renders a 0. Can you please help me correct my formula? Thank you!
=COUNTIFS(Stage:Stage, "Proposal", [Class]:[Class], CONTAINS("Blended", [Class]:[Class]))
Best Answer
-
Try replacing the range in the CONTAINS function with @cell.
=COUNTIFS(Stage:Stage, "Proposal", [Class]:[Class], CONTAINS("Blended", @cell))
This tells the formula to run the CONTAINS function on a cell by cell basis in the previously established range.
Answers
-
Try replacing the range in the CONTAINS function with @cell.
=COUNTIFS(Stage:Stage, "Proposal", [Class]:[Class], CONTAINS("Blended", @cell))
This tells the formula to run the CONTAINS function on a cell by cell basis in the previously established range.
-
Thank you! I always get the answers on this forum. I really appreciate your help!
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.1K Get Help
- 444 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 5K Ideas & Feature Requests
- 83 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!