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
- Customer Resources
- 65.1K Get Help
- 444 Global Discussions
- 142 Industry Talk
- 472 Announcements
- 5K Ideas & Feature Requests
- 83 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 489 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!