+ Reply to Thread
Results 1 to 3 of 3

=COUNT(IF(AND(K2:K20>=382,K2:K20<=383),IF(E2:E20="x",1,0)))

  1. #1

    =COUNT(IF(AND(K2:K20>=382,K2:K20<=383),IF(E2:E20="x",1,0)))

    k2-k20 is a range of numbers
    E2-E20 include X as a name

    I'm attempting to count all the instances in which x exist between 382 and
    383 in the k colum.
    I'm using a count(if(...)) array formula to count all of the information.
    The second example of count if in excel tutorial, under "Count how often
    multiple text or number values occur by using functions" only matches one
    text parameter to one number parameter. I'm trying to have it match one text
    parameter to two numbers or a range.


    thanks,

  2. #2
    Forum Expert
    Join Date
    09-09-2005
    Location
    England
    MS-Off Ver
    2007
    Posts
    1,500
    Try

    =sumproduct((K2:K20>=382)*(K2:K20<=383)*(E2:E20="x"))

    Regards

    Dav

  3. #3
    David Billigmeier
    Guest

    RE: =COUNT(IF(AND(K2:K20>=382,K2:K20<=383),IF(E2:E20="x",1,0)))

    =SUMPRODUCT(--(K2:K20>=382),--(K2:K20<=383),--(E2:E20="x"))

    --
    Regards,
    Dave


    "[email protected]" wrote:

    > k2-k20 is a range of numbers
    > E2-E20 include X as a name
    >
    > I'm attempting to count all the instances in which x exist between 382 and
    > 383 in the k colum.
    > I'm using a count(if(...)) array formula to count all of the information.
    > The second example of count if in excel tutorial, under "Count how often
    > multiple text or number values occur by using functions" only matches one
    > text parameter to one number parameter. I'm trying to have it match one text
    > parameter to two numbers or a range.
    >
    >
    > thanks,


+ 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