View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
muddan madhu muddan madhu is offline
external usenet poster
 
Posts: 747
Default Greater and less than

try this
=COUNTIF(N:N,"<60")+COUNTIF(N:N,"30")-COUNT(N:N)


On Jul 10, 2:35*am, SUMSUE wrote:
I've typed in this formula to count the number of items that are within the
range that is more than 30 but less than 61 looking at one column with
different values,
=COUNTIF(N2:N8000,"<3161")
I've done one for less than 31 and it works but can't add the second
criteria. It should return a value of 98 but I keep getting 0.

Where am I going wrong?
Thanks in advance