Count Formula

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have the following formula in a cell;
=COUNTIF(Info!L5:L499,"5<10")
The criteria of the formula is to check for number between 5 & 10.
How do this.?
 
Try something like this:

If you are looking to count items between 5 and 10, exclusive of those
numbers:
=COUNTIF(Info!L5:L499,"<10")-COUNTIF(Info!L5:L499,"<=5")
OR
=SUMPRODUCT((Info!L5:L499>5)*(Info!L5:L499<10))

If you want to include 5 and 10 in the count:
=COUNTIF(Info!L5:L499,"<=10")-COUNTIF(Info!L5:L499,"<5")
OR
=SUMPRODUCT((Info!L5:L499>=5)*(Info!L5:L499<=10))

Does that help?
***********
Regards,
Ron

XL2002, WinXP
 

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

Back
Top