COUNTIF function behaving erratically

alimair

New Member
Joined
Jul 30, 2014
Messages
12
Hello,

I'm trying to use the simple COUNTIF function to count several columns of numbers but for most columns the function is skipping one or two cells. I have double checked that there aren't any spaces on either side of the number, and have checked the format of the cell but I still can't get it to count it.

Interestingly if I change the value in the cell to a different value (i.e. from "7" to "3"), the function counts the "3", but also counts an additional "5", which takes the sum of all the counts to more than the number of cells that are being counted (i.e. counting the frequency of numbers 1-9 in 26 rows, and the sum of the frequencies comes out at 25 when the offending cell contains a 7, but changes to 27 if the offending cell contains a 3).

Any idea what is going on here?!
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)

Forum statistics

Threads
1,215,465
Messages
6,124,975
Members
449,200
Latest member
Jamil ahmed

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top