# Countif for a multiselect column

edited 07/18/21

Hello,

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.

Tags:

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

bassam.khalil2009@gmail.com