CountIF problem

J

jjj

Hi,

My brain isn't switched on this morning, this may be more straight
forward than I think...

I'm trying to do a Countif function, which only counts those in the
range which are between "0" and "-2". Lets say the range is $A$1 :
$A$50, and contains values between -3.00 and 5.00.

How can i write this countif formula? It doesnt work the way i'm trying
it!

Many thanks in advance

JJJ
 
M

Mangesh Yadav

For range A1:A10

=COUNTIF($A$1:$A$10,">=-2")+COUNTIF($A$1:$A$10,"<=0")-COUNT($A$1:$A$10)

Mangesh
 
R

Roger Govier

Hi

Try
=COUNTIF($A$1:$A$50,"<=0")-COUNTIF($A$1:$A$50,"<-2")


Regards

Roger Govier
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top