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

  • Paul Newcome
    Paul Newcome ✭✭✭✭✭✭
    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

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!