I want to COUNT the occurance that any number appears in a cell (I do not want to SUM them). How can I exclude "0" from being counted? I'd rather not leave the cell blank.
Funny.
I'm using the following formula: =COUNTIF(B57;B66;B75;B84,"<> 0")
Excel stops and highlights B75. B57=0, B66=1, B75=1 and B84=1. Why does it not like B75? I get the error that states there is something wrong with my formula and I have the option to click OK of Help.
Hmmm, so maybe COUNT is not the formula of choice.
There are 4 cells that I want to check, every 9 cells. Inbetween that range are values that do not relate to the 4 cells in question. Unless I rearrange my data. Something I want to avoid due to the vast amoutn od data that there is.
I want to COUNT the occurance that any number appears in a cell (I do not want to SUM them). How can I exclude "0" from being counted? I'd rather not leave the cell blank.
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.