+ Reply to Thread
Results 1 to 4 of 4

multiple criteria for count if

  1. #1
    gtsch
    Guest

    multiple criteria for count if

    i am trying to count the number of rows over 90 in column c that also have a
    1 in column d

    i have tried
    =SUMPRODUCT(--(C5:C301>="90"),--(D5:D301="1"))

    and only get 0 as an output

    what am i doing wrong?
    --
    gtsch

  2. #2
    Forum Contributor
    Join Date
    03-21-2006
    Posts
    205
    Hi gtsch

    ="90" looks for text
    whereas =90 looks for numbers

    Drop the double quotes and your formulae should work.

    Quote Originally Posted by gtsch
    i am trying to count the number of rows over 90 in column c that also have a
    1 in column d

    i have tried
    =SUMPRODUCT(--(C5:C301>="90"),--(D5:D301="1"))

    and only get 0 as an output

    what am i doing wrong?
    --
    gtsch

  3. #3
    tjtjjtjt
    Guest

    RE: multiple criteria for count if

    This should work. Note there are no "".
    =SUMPRODUCT(--(C5:C301>=90),--(D5:D301=1))
    --
    tj


    "gtsch" wrote:

    > i am trying to count the number of rows over 90 in column c that also have a
    > 1 in column d
    >
    > i have tried
    > =SUMPRODUCT(--(C5:C301>="90"),--(D5:D301="1"))
    >
    > and only get 0 as an output
    >
    > what am i doing wrong?
    > --
    > gtsch


  4. #4
    gtsch
    Guest

    RE: multiple criteria for count if

    thanks that did the trick

    appreciate your help
    --
    gtsch


    "tjtjjtjt" wrote:

    > This should work. Note there are no "".
    > =SUMPRODUCT(--(C5:C301>=90),--(D5:D301=1))
    > --
    > tj
    >
    >
    > "gtsch" wrote:
    >
    > > i am trying to count the number of rows over 90 in column c that also have a
    > > 1 in column d
    > >
    > > i have tried
    > > =SUMPRODUCT(--(C5:C301>="90"),--(D5:D301="1"))
    > >
    > > and only get 0 as an output
    > >
    > > what am i doing wrong?
    > > --
    > > gtsch


+ 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