In excel counting cells in a range which meet condition ">Xand<X"

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

Guest

I'm trying to construct a formula that will count the number of cells in a
range that meet the condition ">x and <x", (which I suppose is two conditions
in one really), where the range just contains numbers.
 
=SUMPRODUCT(--(rng>x),--(rng<y))

if it is really two values, but if as you show then

=SUMIF(rng,"<>"&x)

--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)
 

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