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 information? π | 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 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.9K Get Help
- 474 Global Discussions
- 208 Use Cases
- 517 Announcements
- 5.6K Ideas & Feature Requests
- 87 Brandfolder
- 157 Just for fun
- 84 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!