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
- 10.8K Get Help
- 65 Global Discussions
- 69 Industry Talk
- 385 Announcements
- 3.5K Ideas & Feature Requests
- 56 Brandfolder
- 125 Just for fun
- 50 Community Job Board
- 464 Show & Tell
- 40 Member Spotlight
- 44 Power Your Process
- 28 Sponsor X
- 234 Events
- 7.3K Forum Archives
Check out the Formula Handbook template!