COUNTIF(S) where items are NOT equal to more than one value
Hello! I am trying to create a formula which counts all items that are NOT assigned to a list of about 8 people. These will be totaled into an "Other" field.
Example: PMs include Bob, Sarah, Dee, David, and George. I have counts for how many projects are assigned to each of these people, no problem. Then I have a bunch of projects assigned to other people... instead of making individual counts for these, I'd like to group them into a total labeled "other." How can I count all fields which are NOT the PMs listed above?
I've done quite a bit of searching on this but for some reason am coming up dry, everything I have tried is not working.
Thanks!
Best Answers
-
Try something along the lines of ...
=COUNTIFS([Assigned To]:[Assigned To], AND(FIND("Bob", @cell) = 0, FIND("Sarah", @cell) = 0, FIND("David", @cell) = 0, FIND("George", @cell) = 0))
-
Yes. You can use a NOT(ISBLANK(@cell))
You can also use the below to save a few keystrokes and cut out some of those pesky parenthesis...
<> ""
<> means "Not equal to" and "" is "blank".
Answers
-
Try something along the lines of ...
=COUNTIFS([Assigned To]:[Assigned To], AND(FIND("Bob", @cell) = 0, FIND("Sarah", @cell) = 0, FIND("David", @cell) = 0, FIND("George", @cell) = 0))
-
Thank you! This worked, for the most part - however it's including blanks. Is there a way for me to exclude blanks? (Been doing some more searching and once again, nothing super clear coming up, but will continue to work on it!)
-
I think I figured the "blank" part out! Added the following to the end: [Range]:[Range], NOT(ISBLANK(@cell))
-
Yes. You can use a NOT(ISBLANK(@cell))
You can also use the below to save a few keystrokes and cut out some of those pesky parenthesis...
<> ""
<> means "Not equal to" and "" is "blank".
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 142 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!