Greater Than and Less Than Formulas

M

Melanie

I'm trying to create a formula that will look in a cell
range (let's say B6:O9) and count all numbers in that cell
range that are greater than 0 but less than 7. Can anyone
help?
 
F

Frank Kabel

Hi
one way:
=COUNTIF(B6:O9,">0")-COUNTIF(B6:O9,">=7")


Another way
=SUMPRODUCT(--(B6:O9>0),--(B6:O9<7))
 

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