+ Reply to Thread
Results 1 to 6 of 6

How do I set up an array using countif for 2 separate arguments.

  1. #1
    crich
    Guest

    How do I set up an array using countif for 2 separate arguments.

    I want the cell to count, but only if 2 separate arguments are met. Can that
    be done?

  2. #2
    Aladin Akyurek
    Guest

    Re: How do I set up an array using countif for 2 separate arguments.

    Care to provide a bit more info, preferably by means of a tiny sample
    along with the expected count?

    crich wrote:
    > I want the cell to count, but only if 2 separate arguments are met. Can that
    > be done?


  3. #3
    Ashish Mathur
    Guest

    RE: How do I set up an array using countif for 2 separate arguments.

    Hi,

    Name Dept Grade

    Sam A 1
    Patrick A 2
    David A 1

    If you want to count the number pf people who are in Department A and have
    grade 1, enter the following formula

    Array enter (Ctrl+Shift+Enter) the following formula in cell E10

    SUM(IF((D6:D8="A")*(E6:E8=1),1,0))

    Regards,

    "crich" wrote:

    > I want the cell to count, but only if 2 separate arguments are met. Can that
    > be done?


  4. #4
    crich
    Guest

    RE: How do I set up an array using countif for 2 separate argument

    I tried this, but the formula didn't work. It just returns a value of 0.
    BUT, I really think we are getting close. Any more ideas? Thanks.

    "Ashish Mathur" wrote:

    > Hi,
    >
    > Name Dept Grade
    >
    > Sam A 1
    > Patrick A 2
    > David A 1
    >
    > If you want to count the number pf people who are in Department A and have
    > grade 1, enter the following formula
    >
    > Array enter (Ctrl+Shift+Enter) the following formula in cell E10
    >
    > SUM(IF((D6:D8="A")*(E6:E8=1),1,0))
    >
    > Regards,
    >
    > "crich" wrote:
    >
    > > I want the cell to count, but only if 2 separate arguments are met. Can that
    > > be done?


  5. #5
    crich
    Guest

    Re: How do I set up an array using countif for 2 separate argument

    The example is as Ashish wrote below, but the formula didn't work. It just
    returns a value of 0. BUT, I really think we are getting close. Thanks.

    "Aladin Akyurek" wrote:

    > Care to provide a bit more info, preferably by means of a tiny sample
    > along with the expected count?
    >
    > crich wrote:
    > > I want the cell to count, but only if 2 separate arguments are met. Can that
    > > be done?

    >


  6. #6
    Aladin Akyurek
    Guest

    Re: How do I set up an array using countif for 2 separate argument

    The suggested formula should yield the count you need. Note that the
    formula must be confirmed with control+shift+enter, not just with enter.

    crich wrote:
    > The example is as Ashish wrote below, but the formula didn't work. It just
    > returns a value of 0. BUT, I really think we are getting close. Thanks.
    >
    > "Aladin Akyurek" wrote:
    >
    >
    >>Care to provide a bit more info, preferably by means of a tiny sample
    >>along with the expected count?
    >>
    >>crich wrote:
    >>
    >>>I want the cell to count, but only if 2 separate arguments are met. Can that
    >>>be done?

    >>


+ 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