How to avoid counting a drop down option?
I have one drop down option which is used on 3 cells, 2 cells have "EVT" and "OK2Fab" and 1 cell "EVT" "OK2Fab" "OK2Tool", when I use: COUNTIF({WHS Hot Issue Tracker_NO Range 3}, AND(HAS(@cell, "OK2Fab"), HAS(@cell, "EVT"))) It counts 3 and when I use COUNTIF({WHS Hot Issue Tracker_NO Range 3}, AND(HAS(@cell, "EVT"), HAS(@cell, "OK2Fab"), AND(HAS(@cell, "OK2Tool")))) it counts 2. So EVT OK2Fab = 3 which is incorrect (should be 2) as I want only the two options to be counted for. How can I just count EVT and OK2Fab? and remove the option with OK2Tool?
Answers
-
Hey @jehup
You should be able to include the COUNTM() function as criteria if you're trying to limit other responses.
=COUNTIFS({WHS Hot Issue Tracker_NO Range 3}, (HAS(@cell, "OK2Fab"), HAS(@cell, "EVT"), COUNTM(@cell)=2))
Does this work for you?
Kelly
-
@Kelly Moore Thanks. No is not parsing. Seems like there is an error in the formula.
-
Hey @jehup
=COUNTIFS({WHS Hot Issue Tracker_NO Range 3}, AND((HAS(@cell, "OK2Fab"), HAS(@cell, "EVT"), COUNTM(@cell)=2)))
it's missing the AND
Kelly
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.6K Get Help
- 405 Global Discussions
- 215 Industry Talk
- 456 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 297 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!