COUNTIFS Contains but excludes
I have a multi-select column that contains different options (ex: option A, option B…). I want to count if the Status column contains in progress but not if it the row says At risk.
For example:
if it counts both it has 2 Point of Sales, but I want a formula that excludes the "at risk" project so it would only count 1
Here's is the formula that i have that counts the specific option, what do i need to add to exclude it if on a different row it says complete:
=COUNTIF({Project list - Metadata - Demo Range 1}, HAS(@cell, "option A" ))
I have tried the following but it tells me "#incorrect argument"
=COUNTIF({Project list - Metadata - Demo Range 1}, HAS(@ ), {Project list - Metadata - Demo Range 1}, NOT(HAS(@ )))
Best Answer
-
Try using CONTAINS instead of HAS.
Answers
-
Try using CONTAINS instead of HAS.
-
thank you!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 59 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!