How do I combine two countif statements to obtain a number in a ra

B

bluedog5000

This relates to Excel 2003.

Question seems simple enough, is there a way of using countif that will
result in counting numbers only with in a specific range?

I.e. Nos. 5, 6,7,8,9 &10 and you want to return a count of those numbers in
the range >=7 & <9 only. the naswer in this example would be 3.
 
F

Frank Kabel

Hi
=COUNTIF(A1:A100,">=7")-COUNTIF(A1:A100,">=9")

or try
=SUMPRODUCT(--(A1:A100>=7),--(A1:A100<9))
 

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