View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
bpeltzer bpeltzer is offline
external usenet poster
 
Posts: 171
Default Greater than or less than formula

You could just subtract out those that are 0 :
=COUNTIF(Terminations!O:O,"<=29")-COUNTIF(Terminations!O:O,0)

"Cindy" wrote:

I need a formula that picks up anything 1-29 (not zero). At least 1, but
less than 29. I had =COUNTIF(Terminations!O:O,"<=29") was working fine,
except another formula is creating 0's (zeros) to come into this column. The
zeros can be there, I just don't want them counted.