+ Reply to Thread
Results 1 to 13 of 13

Multiple conditions on a countif

  1. #1
    Anne Troy
    Guest

    Re: Multiple conditions on a countif

    Try this, Mike:
    http://www.officearticles.com/excel/...soft_excel.htm
    *******************
    ~Anne Troy

    www.OfficeArticles.com


    "Mr Mike" <[email protected]> wrote in message
    news:[email protected]...
    > Hello, Using the grid below, I would like to create a count of all stores

    in
    > Rgn 1 that have sales greater than zero. Thanks for your help!
    >
    > Region Store Sales
    > 1 A 5
    > 2 B 6
    > 1 C 7
    > 2 D 0
    > 1 E 2
    > 2 F 8




  2. #2
    Dave R.
    Guest

    Re: Multiple conditions on a countif

    Here you go:

    =SUMPRODUCT((A1:A10=1)*(C1:C10>0))

    adjust ranges as necessary.

    "Mr Mike" <[email protected]> wrote in message
    news:[email protected]...
    > Hello, Using the grid below, I would like to create a count of all stores

    in
    > Rgn 1 that have sales greater than zero. Thanks for your help!
    >
    > Region Store Sales
    > 1 A 5
    > 2 B 6
    > 1 C 7
    > 2 D 0
    > 1 E 2
    > 2 F 8




  3. #3
    Roger Govier
    Guest

    Re: Multiple conditions on a countif

    =SUMPRODUCT(--($A$2:$A$100=1),--($C$2:$C$100>0))
    Change ranges to suit

    --
    Regards
    Roger Govier
    "Mr Mike" <[email protected]> wrote in message
    news:[email protected]...
    > Hello, Using the grid below, I would like to create a count of all stores
    > in
    > Rgn 1 that have sales greater than zero. Thanks for your help!
    >
    > Region Store Sales
    > 1 A 5
    > 2 B 6
    > 1 C 7
    > 2 D 0
    > 1 E 2
    > 2 F 8




  4. #4
    Ashish Mathur
    Guest

    RE: Multiple conditions on a countif

    Hi,

    Try the following array formula (Ctrl+Shift+Enter)

    SUM(IF((B5:B10=1)*(D5:D10>0),1,0),C5:C10)

    Regards,

    Ashish Mathur

    "Mr Mike" wrote:

    > Hello, Using the grid below, I would like to create a count of all stores in
    > Rgn 1 that have sales greater than zero. Thanks for your help!
    >
    > Region Store Sales
    > 1 A 5
    > 2 B 6
    > 1 C 7
    > 2 D 0
    > 1 E 2
    > 2 F 8


  5. #5
    Anne Troy
    Guest

    Re: Multiple conditions on a countif

    Try this, Mike:
    http://www.officearticles.com/excel/...soft_excel.htm
    *******************
    ~Anne Troy

    www.OfficeArticles.com


    "Mr Mike" <[email protected]> wrote in message
    news:[email protected]...
    > Hello, Using the grid below, I would like to create a count of all stores

    in
    > Rgn 1 that have sales greater than zero. Thanks for your help!
    >
    > Region Store Sales
    > 1 A 5
    > 2 B 6
    > 1 C 7
    > 2 D 0
    > 1 E 2
    > 2 F 8




  6. #6
    Dave R.
    Guest

    Re: Multiple conditions on a countif

    Here you go:

    =SUMPRODUCT((A1:A10=1)*(C1:C10>0))

    adjust ranges as necessary.

    "Mr Mike" <[email protected]> wrote in message
    news:[email protected]...
    > Hello, Using the grid below, I would like to create a count of all stores

    in
    > Rgn 1 that have sales greater than zero. Thanks for your help!
    >
    > Region Store Sales
    > 1 A 5
    > 2 B 6
    > 1 C 7
    > 2 D 0
    > 1 E 2
    > 2 F 8




  7. #7
    Roger Govier
    Guest

    Re: Multiple conditions on a countif

    =SUMPRODUCT(--($A$2:$A$100=1),--($C$2:$C$100>0))
    Change ranges to suit

    --
    Regards
    Roger Govier
    "Mr Mike" <[email protected]> wrote in message
    news:[email protected]...
    > Hello, Using the grid below, I would like to create a count of all stores
    > in
    > Rgn 1 that have sales greater than zero. Thanks for your help!
    >
    > Region Store Sales
    > 1 A 5
    > 2 B 6
    > 1 C 7
    > 2 D 0
    > 1 E 2
    > 2 F 8




  8. #8
    Ashish Mathur
    Guest

    RE: Multiple conditions on a countif

    Hi,

    Try the following array formula (Ctrl+Shift+Enter)

    SUM(IF((B5:B10=1)*(D5:D10>0),1,0),C5:C10)

    Regards,

    Ashish Mathur

    "Mr Mike" wrote:

    > Hello, Using the grid below, I would like to create a count of all stores in
    > Rgn 1 that have sales greater than zero. Thanks for your help!
    >
    > Region Store Sales
    > 1 A 5
    > 2 B 6
    > 1 C 7
    > 2 D 0
    > 1 E 2
    > 2 F 8


  9. #9
    Mr Mike
    Guest

    Multiple conditions on a countif

    Hello, Using the grid below, I would like to create a count of all stores in
    Rgn 1 that have sales greater than zero. Thanks for your help!

    Region Store Sales
    1 A 5
    2 B 6
    1 C 7
    2 D 0
    1 E 2
    2 F 8

  10. #10
    Anne Troy
    Guest

    Re: Multiple conditions on a countif

    Try this, Mike:
    http://www.officearticles.com/excel/...soft_excel.htm
    *******************
    ~Anne Troy

    www.OfficeArticles.com


    "Mr Mike" <[email protected]> wrote in message
    news:[email protected]...
    > Hello, Using the grid below, I would like to create a count of all stores

    in
    > Rgn 1 that have sales greater than zero. Thanks for your help!
    >
    > Region Store Sales
    > 1 A 5
    > 2 B 6
    > 1 C 7
    > 2 D 0
    > 1 E 2
    > 2 F 8




  11. #11
    Dave R.
    Guest

    Re: Multiple conditions on a countif

    Here you go:

    =SUMPRODUCT((A1:A10=1)*(C1:C10>0))

    adjust ranges as necessary.

    "Mr Mike" <[email protected]> wrote in message
    news:[email protected]...
    > Hello, Using the grid below, I would like to create a count of all stores

    in
    > Rgn 1 that have sales greater than zero. Thanks for your help!
    >
    > Region Store Sales
    > 1 A 5
    > 2 B 6
    > 1 C 7
    > 2 D 0
    > 1 E 2
    > 2 F 8




  12. #12
    Roger Govier
    Guest

    Re: Multiple conditions on a countif

    =SUMPRODUCT(--($A$2:$A$100=1),--($C$2:$C$100>0))
    Change ranges to suit

    --
    Regards
    Roger Govier
    "Mr Mike" <[email protected]> wrote in message
    news:[email protected]...
    > Hello, Using the grid below, I would like to create a count of all stores
    > in
    > Rgn 1 that have sales greater than zero. Thanks for your help!
    >
    > Region Store Sales
    > 1 A 5
    > 2 B 6
    > 1 C 7
    > 2 D 0
    > 1 E 2
    > 2 F 8




  13. #13
    Ashish Mathur
    Guest

    RE: Multiple conditions on a countif

    Hi,

    Try the following array formula (Ctrl+Shift+Enter)

    SUM(IF((B5:B10=1)*(D5:D10>0),1,0),C5:C10)

    Regards,

    Ashish Mathur

    "Mr Mike" wrote:

    > Hello, Using the grid below, I would like to create a count of all stores in
    > Rgn 1 that have sales greater than zero. Thanks for your help!
    >
    > Region Store Sales
    > 1 A 5
    > 2 B 6
    > 1 C 7
    > 2 D 0
    > 1 E 2
    > 2 F 8


+ 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