View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Pete_UK Pete_UK is offline
external usenet poster
 
Posts: 8,856
Default disregarding zeroes

You could do this:

=COUNTIF(G1:G100,"0")

if your numbers are all positive, or this:

=COUNTIF(G1:G100,"<0")

if you might have positive and negative numbers.

Hope this helps.

Pete

On Apr 27, 11:40*am, Sapper wrote:
Data recorded in col A is called for in Col G. So that blank cells in A do
not deliver zeros in col G, I used =if(A1="","",A1). Thanks Dave Peterson.
I total col G using =countif(G1:G100,"**") but it includes the zeros
returning a false count. How can I not include the zeroes?
Can anyone help?