ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How do I count cells with non zero values? (https://www.excelbanter.com/excel-discussion-misc-queries/53825-how-do-i-count-cells-non-zero-values.html)

Ryan

How do I count cells with non zero values?
 
I want to tally the number of cells in a column that have non zero values.
The cout function seem to insist on counting zeros. THe bulk data has plus
and minus values. I can separate them but I have to show a true or false or
zero rahter than blank (I would prefer blank). So how can I tally the entries
in each column with out counting zeros?

Alan

How do I count cells with non zero values?
 
Assuming the values are all numeric, ie no text values, try
=COUNTIF(A1:A100,"<"&0)
Regards,
Alan.
"Ryan" wrote in message
...
I want to tally the number of cells in a column that have non zero values.
The cout function seem to insist on counting zeros. THe bulk data has
plus
and minus values. I can separate them but I have to show a true or false
or
zero rahter than blank (I would prefer blank). So how can I tally the
entries
in each column with out counting zeros?





All times are GMT +1. The time now is 12:31 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com