+ Reply to Thread
Results 1 to 4 of 4

Using COUNTIF with 2 criteria - SUMPRODUCT?

  1. #1
    Mike R.
    Guest

    Using COUNTIF with 2 criteria - SUMPRODUCT?

    Greetings,
    I would like to COUNTIF with 2 criteria and I have read on how to use
    SUMPRODUCT to accomplish this. However, I am still getting a pretty #NUM!
    error in the calculation. Here is my formula:

    =SUMPRODUCT(--('Turnover Details by HR Group'!D:D=A4),--('Turnover Details
    by HR Group'!B:B=$B$2))

    Please help. Thank you,
    Mike

  2. #2
    Valued Forum Contributor
    Join Date
    07-11-2004
    Posts
    851
    you need to define specific row ranges vs D:D - choose a large enough range so ensure you cover your data such as D1:D1000
    not a professional, just trying to assist.....

  3. #3
    Jason Morin
    Guest

    Re: Using COUNTIF with 2 criteria - SUMPRODUCT?

    SUMPRODUCT nor array formulas can handle entire column
    references. Rather than using D:D, use something like
    D1:D2000.

    HTH
    Jason
    Atlanta, GA

    >-----Original Message-----
    >Greetings,
    >I would like to COUNTIF with 2 criteria and I have read

    on how to use
    >SUMPRODUCT to accomplish this. However, I am still

    getting a pretty #NUM!
    >error in the calculation. Here is my formula:
    >
    >=SUMPRODUCT(--('Turnover Details by HR Group'!D:D=A4),--

    ('Turnover Details
    >by HR Group'!B:B=$B$2))
    >
    >Please help. Thank you,
    >Mike
    >.
    >


  4. #4
    Mike R.
    Guest

    Re: Using COUNTIF with 2 criteria - SUMPRODUCT?

    Perfect... I thought there was something wierd like that, I just couldn't
    remember or find it in the newsgroup. Thanks!


    "Jason Morin" wrote:

    > SUMPRODUCT nor array formulas can handle entire column
    > references. Rather than using D:D, use something like
    > D1:D2000.
    >
    > HTH
    > Jason
    > Atlanta, GA
    >
    > >-----Original Message-----
    > >Greetings,
    > >I would like to COUNTIF with 2 criteria and I have read

    > on how to use
    > >SUMPRODUCT to accomplish this. However, I am still

    > getting a pretty #NUM!
    > >error in the calculation. Here is my formula:
    > >
    > >=SUMPRODUCT(--('Turnover Details by HR Group'!D:D=A4),--

    > ('Turnover Details
    > >by HR Group'!B:B=$B$2))
    > >
    > >Please help. Thank you,
    > >Mike
    > >.
    > >

    >


+ 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