View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
Mike H Mike H is offline
external usenet poster
 
Posts: 11,501
Default Greater than or less than formula

simply subtract the zeroes

=COUNTIF(terminations!O:O,"<=29")-COUNTIF(terminations!O:O,"=0")

Mike

"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.