COUNTIFS formula help
Hello Smartsheet Community,
I'm trying to get a COUNTIFS formula that tallies
Column1 equals "CDB"
Column2 is not blank
Column 3 does not contain the word "Prime" OR "Early"
I've got this part:
=COUNTIFS(Column1:Column1, "CDB", Column2:Column2, <>"")
But I can't figure out how to add the OR statement for Column 3
Any help or suggestions would be much appreciated!
Best,
John
Best Answer
-
You would want something like this...
=COUNTIFS(Product:Product, "CDB", [Overall Experience Score]:[Overall Experience Score], <>"", [Event Name]:[Event Name], AND(FIND("Prime", @cell) = 0, FIND("Early", @cell) = 0))
Answers
-
Hi @John Stanik
Try this:
=COUNTIFS([Column1]:[Column1], "CDB", [Column2]:[Column2], <>"", [Column 3]:[Column3], AND(@cell <> "Prime", @cell <> "Early"))
Let me know if this works for you!
Cheers,
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
-
Thank you for the response. How would I manipulate that to say Column 3 does not CONTAIN the text "Prime" or "Early".
I tried this:
=COUNTIFS(Product:Product, "CDB", [Overall Experience Score]:[Overall Experience Score], <>"", [Event Name]:[Event Name], CONTAINS(AND(@cell <> "Prime", @cell <> "Early")))
And this:
=COUNTIFS(Product:Product, "CDB", [Overall Experience Score]:[Overall Experience Score], <>"", [Event Name]:[Event Name], CONTAINS(@cell <> "Prime", @cell <> "Early"))
But no luck...
Thank you,
John
-
You would want something like this...
=COUNTIFS(Product:Product, "CDB", [Overall Experience Score]:[Overall Experience Score], <>"", [Event Name]:[Event Name], AND(FIND("Prime", @cell) = 0, FIND("Early", @cell) = 0))
-
-
Thanks Paul! 🙂
Need more help? 👀 | 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
- 64.9K Get Help
- 441 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!