Countif for a multiselect column



I have a multi select column with numbers in one sheet. I have another summary sheet where I am counting how many times all the numbers have appeared in the first sheet. The countif formula is giving the wrong answer for the numbers with second decimal place 0.

For example, if the number I want to count is 70.80, then along with counting how many times 70.8 has appeared, it is also counting 70.81, 70.82 etc. But the formula will count properly if the number is 70.81 or 70.83 etc.

Here are formulas I have tried -

Countif({range in first sheet}, FIND(number@row,@cell)>0)

Countif({range in first sheet}, CONTAINS(number@row,@cell))

Countif({range in first sheet}, HAS(number@row,@cell))

Any help is appreciated.



  • Bassam Khalil
    Bassam Khalil ✭✭✭✭✭✭
    edited 07/19/21

    Hi @Tanu Harsha

    Hope you are fine, please try the following formula:

    =COUNTIF({Range in first sheet}, HAS(@cell, number@row))

    the following screenshots shows the results:

    The Numbers Summary

    The Number Database

    PMP Certified

    ☑️ Are you satisfied with my answer to your question? Please help the Community by marking it as an ( Accepted Answer), and I will be grateful for your "Vote Up" or "Insightful"

  • Tanu Harsha

    I have tried that and it did not work. There is also a condition that the checkbox has to be checked to count the row. I added the screenshots for your reference. Column 3 on the 2nd screenshot has formula that I tried for that row

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!