View Single Post
  #2   Report Post  
JulieD
 
Posts: n/a
Default

Hi

two methods
=COUNTIF(E2:E1956,""&29)-COUNTIF(E2:E1956,""&39)

or
=SUMPRODUCT(--(E2:E195629),--(E2:E1956<40))

Cheers
JulieD

"FinChase" wrote in message
...
I am trying to write a countif statement where the criteria is a range of
numbers from 30 - 39. This is what I've written:

=countif(e2:e1956,"29<40")

Right now it is counting everything over 29.