ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   sumproduct--counting--zero--blank cells (https://www.excelbanter.com/excel-discussion-misc-queries/40444-sumproduct-counting-zero-blank-cells.html)

jeremy via OfficeKB.com

sumproduct--counting--zero--blank cells
 
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


--
Message posted via http://www.officekb.com

Mike

COUNTBLANK(range)

"jeremy via OfficeKB.com" wrote:

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


--
Message posted via http://www.officekb.com


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!
================================================== ===

"jeremy via OfficeKB.com" wrote in message
...
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


--
Message posted via http://www.officekb.com



jeremy via OfficeKB.com

Thanks for all the help RagDyeR



RagDyeR wrote:
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



--
Message posted via http://www.officekb.com

RagDyeR

You're very welcome.
--

Regards,

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

"jeremy via OfficeKB.com" wrote in message
...
Thanks for all the help RagDyeR



RagDyeR wrote:
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



--
Message posted via http://www.officekb.com




All times are GMT +1. The time now is 10:43 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com