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.9K Get Help
- 439 Global Discussions
- 138 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!