sumproduct--counting--zero--blank cells

  • Thread starter jeremy via OfficeKB.com
  • Start date
J

jeremy via OfficeKB.com

I'm using these formula to count,

=SUMPRODUCT(($W$9:$W$272>=0)*($W$9:$W$272<10))
=SUMPRODUCT(($W$9:$W$272>=10)*($W$9:$W$272<20))
........etc
how do i get it so bank cells are excluded from the count. The way it is now,
they are counted in the 0 to 10 range...

Thanks
Jeremy
 
R

RagDyeR

If you have zeroes, and you want to count them, try this:

=SUMPRODUCT(($W$9:$W$272>=0)*($W$9:$W$272<>"")*($W$9:$W$272<10))

--

HTH,

RD
=====================================================
Please keep all correspondence within the Group, so all may benefit!
=====================================================

I'm using these formula to count,

=SUMPRODUCT(($W$9:$W$272>=0)*($W$9:$W$272<10))
=SUMPRODUCT(($W$9:$W$272>=10)*($W$9:$W$272<20))
........etc
how do i get it so bank cells are excluded from the count. The way it is
now,
they are counted in the 0 to 10 range...

Thanks
Jeremy
 
J

jeremy via OfficeKB.com

Thanks for all the help RagDyeR


If you have zeroes, and you want to count them, try this:

=SUMPRODUCT(($W$9:$W$272>=0)*($W$9:$W$272<>"")*($W$9:$W$272<10))

I'm using these formula to count,

=SUMPRODUCT(($W$9:$W$272>=0)*($W$9:$W$272<10))
=SUMPRODUCT(($W$9:$W$272>=10)*($W$9:$W$272<20))
.......etc
how do i get it so bank cells are excluded from the count. The way it is
now,
they are counted in the 0 to 10 range...

Thanks
Jeremy
 

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