Another COUNTIFS question with multiple criteria **Answered**
Can someone help me adjust below equation to exclude "Cancelled" as well as "Complete". It already works to exclude "Complete". I've tried multiple ways but have failed so far.
=COUNTIFS({HR Info Systems COE Tracker Range 4}, [Metrics 2]@row, {HR Info Systems COE Tracker Status}, <>"Complete")
Best Answer
-
@heyjay Your solution works if I use AND instead of OR - thank you!!
=COUNTIFS(
{HR Info Systems COE Tracker Range 4}, [Metrics 2]@row,
{HR Info Systems COE Tracker Status}, AND(@cell <>"Complete", @cell <>"Cancelled"))
@DKazatsky2 Your solution works - thanks so much!!
=COUNTIFS({HR Info Systems COE Tracker Range 4}, [Metrics 2]@row, {HR Info Systems COE Tracker Status}, <>"Complete", {HR Info Systems COE Tracker Status}, <>"Cancelled")
Answers
-
Can you try this?
=COUNTIFS( {HR Info Systems COE Tracker Range 4}, [Metrics 2]@row, OR( {HR Info Systems COE Tracker Status}, <>"Complete", {HR Info Systems COE Tracker Status}, <>"Cancelled",) )
...
-
@heyjay Thanks for your response - I tried and I get an unparseable error.
-
My bad, has extra comma at the end.
=COUNTIFS( {HR Info Systems COE Tracker Range 4}, [Metrics 2]@row, OR( {HR Info Systems COE Tracker Status}, <>"Complete", {HR Info Systems COE Tracker Status}, <>"Cancelled" ))
...
-
I just noticed that when you replied - it shows #INVALID DATA TYPE now :(
-
=COUNTIFS({HR Info Systems COE Tracker Range 4}, [Metrics 2]@row, {HR Info Systems COE Tracker Status}, <>"Complete") + COUNTIFS({HR Info Systems COE Tracker Range 4}, [Metrics 2]@row, {HR Info Systems COE Tracker Status}, <>"Cancelled")
How bout we do 2 counts for separate criteria then add them?
...
-
No error - but it is over counting. For example it is counting a status of 'New" in both cases. Would it be best for me to just use this method for all the in-scope status's, rather than trying to exclude the 2 out of scope?
-
=COUNTIFS(
{HR Info Systems COE Tracker Range 4}, [Metrics 2]@row,
{HR Info Systems COE Tracker Status}, OR(@cell <>"Complete",@cell <>"Cancelled"))...
-
Hi @Jake_12,
Try this.
=COUNTIFS({HR Info Systems COE Tracker Range 4}, [Metrics 2]@row, {HR Info Systems COE Tracker Status}, <>"Complete", {HR Info Systems COE Tracker Status}, <>"Cancelled")
Hope this helps,
Dave
-
@heyjay Your solution works if I use AND instead of OR - thank you!!
=COUNTIFS(
{HR Info Systems COE Tracker Range 4}, [Metrics 2]@row,
{HR Info Systems COE Tracker Status}, AND(@cell <>"Complete", @cell <>"Cancelled"))
@DKazatsky2 Your solution works - thanks so much!!
=COUNTIFS({HR Info Systems COE Tracker Range 4}, [Metrics 2]@row, {HR Info Systems COE Tracker Status}, <>"Complete", {HR Info Systems COE Tracker Status}, <>"Cancelled")
-
FYI I'm trying to figure out how to get this changed to a question, so I can mark answered
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 423 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!