+ Reply to Thread
Results 1 to 5 of 5

sumproduct--counting--zero--blank cells

  1. #1
    jeremy via OfficeKB.com
    Guest

    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

  2. #2
    Mike
    Guest

    RE: sumproduct--counting--zero--blank cells

    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
    >


  3. #3
    RagDyeR
    Guest

    Re: sumproduct--counting--zero--blank cells

    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" <[email protected]> wrote in message
    news:[email protected]...
    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



  4. #4
    jeremy via OfficeKB.com
    Guest

    Re: sumproduct--counting--zero--blank cells

    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

  5. #5
    RagDyeR
    Guest

    Re: sumproduct--counting--zero--blank cells

    You're very welcome.
    --

    Regards,

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

    "jeremy via OfficeKB.com" <[email protected]> wrote in message
    news:[email protected]...
    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



+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1