+ Reply to Thread
Results 1 to 3 of 3

count in multiple ranges

  1. #1
    Registered User
    Join Date
    03-05-2009
    Location
    ohio,usa
    MS-Off Ver
    Excel 2003
    Posts
    7

    count in multiple ranges

    Hello,

    Can someone please take a look at the formulas in column cells G28..G33 and help me where I went wrong.I have attached the file please.

    Thanks in advance
    Babuda
    Attached Files Attached Files
    Last edited by babuda; 03-12-2009 at 07:56 PM.

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: count in multiple ranges

    Hi Babuda

    in cell G28 you compare with the wrong severity. The formula should be

    =SUMPRODUCT(($F$2:$F$25="Open")*($H$2:$H$25=1)*(($G$2:$G$25)<=10))

    For the next lines, your logic is a bit wrong. You don't need an AND() formula, because SUMPRODUCT already does that.

    you want to sum if the value
    - is open
    - is Severity 1
    - is 11 or more
    - is less than 21

    in SUMPRODUCT syntax:

    =SUMPRODUCT((is open)*(is severity 1)*(is >=11)*(is <21))

    So your Sumproduct formula must be

    =SUMPRODUCT(($F$2:$F$25="Open")*($H$2:$H$25=1)*($G$2:$G$25>=11)*($G$2:$G$25<21))

    next line: you want to sum if
    - is open
    - is Severity 1
    - is 21 or more
    - is less than 31

    So your formula must be

    =SUMPRODUCT(($F$2:$F$25="Open")*($H$2:$H$25=1)*($G$2:$G$25>=21)*($G$2:$G$25<31))

    Can you see it?

  3. #3
    Registered User
    Join Date
    03-05-2009
    Location
    ohio,usa
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: count in multiple ranges

    Thank you Teylyn for your help, I really appreciate your time

+ 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