Countifs formula for counting the number of specific returns from a Multi Select Column
Hi Everyone,
I am trying to add some metrics to a Dashboard and one of the Metrics i am trying to count is the number of times an option is chosen in a multi select column. The formula i have tried so far is
=COUNTIFS({Oracle EMT 21 Key Element of Works}, CONTAINS("Mechanical"), {Oracle EMT 21 Date of Enquiry}, >=$[Start Date]$1, {Oracle EMT 21 Date of Enquiry}, <=$[End Date]$1)
This returns "Incorrect Argument" and i am not sure where i have gone wrong.
Any help would be appreciated.
Dave
Best Answer
-
You only need a "range" for the CONTAINS function. We would use "@cell" to tell it to evaluate the previously established range of {Oracle EMT 21 Key Element of Works} on a cell by cell basis.
=COUNTIFS({Oracle EMT 21 Key Element of Works}, CONTAINS("Mechanical", @cell), {Oracle EMT 21 Date of Enquiry}, >=$[Start Date]$1, {Oracle EMT 21 Date of Enquiry}, <=$[End Date]$1)
Answers
-
You only need a "range" for the CONTAINS function. We would use "@cell" to tell it to evaluate the previously established range of {Oracle EMT 21 Key Element of Works} on a cell by cell basis.
=COUNTIFS({Oracle EMT 21 Key Element of Works}, CONTAINS("Mechanical", @cell), {Oracle EMT 21 Date of Enquiry}, >=$[Start Date]$1, {Oracle EMT 21 Date of Enquiry}, <=$[End Date]$1)
-
Thank you @Paul Newcome that has worked.
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.5K Get Help
- 424 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 145 Just for fun
- 62 Community Job Board
- 465 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 301 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!