+ Reply to Thread
Results 1 to 13 of 13

Trying to count occurences if 2 conditions are met

  1. #1
    Mangesh Yadav
    Guest

    Re: Trying to count occurences if 2 conditions are met

    =SUMPRODUCT(--(B1:B4="match"),(C1:C4>=10))

    Mangesh



    "NLithgow" <NLithgow@discussions.microsoft.com> wrote in message
    news:9211E230-7346-4047-B55F-26750704CE05@microsoft.com...
    > Trying to count number of occurences when cost centre is matched and

    variable
    > is greater than a certain amount for an entire list




  2. #2
    Mangesh Yadav
    Guest

    Re: Trying to count occurences if 2 conditions are met

    =SUMPRODUCT(--(B1:B4="match"),--(C1:C4>=10))

    Mangesh



    "Mangesh Yadav" <mangesh.NOSPAMyadav@gmail.com> wrote in message
    news:#sS4bD$aFHA.740@tk2msftngp13.phx.gbl...
    > =SUMPRODUCT(--(B1:B4="match"),(C1:C4>=10))
    >
    > Mangesh
    >
    >
    >
    > "NLithgow" <NLithgow@discussions.microsoft.com> wrote in message
    > news:9211E230-7346-4047-B55F-26750704CE05@microsoft.com...
    > > Trying to count number of occurences when cost centre is matched and

    > variable
    > > is greater than a certain amount for an entire list

    >
    >




  3. #3
    Max
    Guest

    Re: Trying to count occurences if 2 conditions are met

    One way via SUMPRODUCT, something like:

    =SUMPRODUCT(($A$2:$A$10=1111)*($B$2:$B$10>100))

    where 1111 is the specific cost centre (in col A) and the certain amt is 100
    (in col B)

    Adapt to the ranges to suit, but note that you can't use entire col refs in
    SUMPRODUCT
    --
    Rgds
    Max
    xl 97
    ---
    GMT+8, 1° 22' N 103° 45' E
    xdemechanik <at>yahoo<dot>com
    ----
    "NLithgow" <NLithgow@discussions.microsoft.com> wrote in message
    news:9211E230-7346-4047-B55F-26750704CE05@microsoft.com...
    > Trying to count number of occurences when cost centre is matched and

    variable
    > is greater than a certain amount for an entire list




  4. #4
    Mangesh Yadav
    Guest

    Re: Trying to count occurences if 2 conditions are met

    =SUMPRODUCT(--(B1:B4="match"),(C1:C4>=10))

    Mangesh



    "NLithgow" <NLithgow@discussions.microsoft.com> wrote in message
    news:9211E230-7346-4047-B55F-26750704CE05@microsoft.com...
    > Trying to count number of occurences when cost centre is matched and

    variable
    > is greater than a certain amount for an entire list




  5. #5
    Mangesh Yadav
    Guest

    Re: Trying to count occurences if 2 conditions are met

    =SUMPRODUCT(--(B1:B4="match"),--(C1:C4>=10))

    Mangesh



    "Mangesh Yadav" <mangesh.NOSPAMyadav@gmail.com> wrote in message
    news:#sS4bD$aFHA.740@tk2msftngp13.phx.gbl...
    > =SUMPRODUCT(--(B1:B4="match"),(C1:C4>=10))
    >
    > Mangesh
    >
    >
    >
    > "NLithgow" <NLithgow@discussions.microsoft.com> wrote in message
    > news:9211E230-7346-4047-B55F-26750704CE05@microsoft.com...
    > > Trying to count number of occurences when cost centre is matched and

    > variable
    > > is greater than a certain amount for an entire list

    >
    >




  6. #6
    Max
    Guest

    Re: Trying to count occurences if 2 conditions are met

    One way via SUMPRODUCT, something like:

    =SUMPRODUCT(($A$2:$A$10=1111)*($B$2:$B$10>100))

    where 1111 is the specific cost centre (in col A) and the certain amt is 100
    (in col B)

    Adapt to the ranges to suit, but note that you can't use entire col refs in
    SUMPRODUCT
    --
    Rgds
    Max
    xl 97
    ---
    GMT+8, 1° 22' N 103° 45' E
    xdemechanik <at>yahoo<dot>com
    ----
    "NLithgow" <NLithgow@discussions.microsoft.com> wrote in message
    news:9211E230-7346-4047-B55F-26750704CE05@microsoft.com...
    > Trying to count number of occurences when cost centre is matched and

    variable
    > is greater than a certain amount for an entire list




  7. #7
    Mangesh Yadav
    Guest

    Re: Trying to count occurences if 2 conditions are met

    =SUMPRODUCT(--(B1:B4="match"),(C1:C4>=10))

    Mangesh



    "NLithgow" <NLithgow@discussions.microsoft.com> wrote in message
    news:9211E230-7346-4047-B55F-26750704CE05@microsoft.com...
    > Trying to count number of occurences when cost centre is matched and

    variable
    > is greater than a certain amount for an entire list




  8. #8
    Mangesh Yadav
    Guest

    Re: Trying to count occurences if 2 conditions are met

    =SUMPRODUCT(--(B1:B4="match"),--(C1:C4>=10))

    Mangesh



    "Mangesh Yadav" <mangesh.NOSPAMyadav@gmail.com> wrote in message
    news:#sS4bD$aFHA.740@tk2msftngp13.phx.gbl...
    > =SUMPRODUCT(--(B1:B4="match"),(C1:C4>=10))
    >
    > Mangesh
    >
    >
    >
    > "NLithgow" <NLithgow@discussions.microsoft.com> wrote in message
    > news:9211E230-7346-4047-B55F-26750704CE05@microsoft.com...
    > > Trying to count number of occurences when cost centre is matched and

    > variable
    > > is greater than a certain amount for an entire list

    >
    >




  9. #9
    Max
    Guest

    Re: Trying to count occurences if 2 conditions are met

    One way via SUMPRODUCT, something like:

    =SUMPRODUCT(($A$2:$A$10=1111)*($B$2:$B$10>100))

    where 1111 is the specific cost centre (in col A) and the certain amt is 100
    (in col B)

    Adapt to the ranges to suit, but note that you can't use entire col refs in
    SUMPRODUCT
    --
    Rgds
    Max
    xl 97
    ---
    GMT+8, 1° 22' N 103° 45' E
    xdemechanik <at>yahoo<dot>com
    ----
    "NLithgow" <NLithgow@discussions.microsoft.com> wrote in message
    news:9211E230-7346-4047-B55F-26750704CE05@microsoft.com...
    > Trying to count number of occurences when cost centre is matched and

    variable
    > is greater than a certain amount for an entire list




  10. #10
    NLithgow
    Guest

    Trying to count occurences if 2 conditions are met

    Trying to count number of occurences when cost centre is matched and variable
    is greater than a certain amount for an entire list

  11. #11
    Mangesh Yadav
    Guest

    Re: Trying to count occurences if 2 conditions are met

    =SUMPRODUCT(--(B1:B4="match"),(C1:C4>=10))

    Mangesh



    "NLithgow" <NLithgow@discussions.microsoft.com> wrote in message
    news:9211E230-7346-4047-B55F-26750704CE05@microsoft.com...
    > Trying to count number of occurences when cost centre is matched and

    variable
    > is greater than a certain amount for an entire list




  12. #12
    Mangesh Yadav
    Guest

    Re: Trying to count occurences if 2 conditions are met

    =SUMPRODUCT(--(B1:B4="match"),--(C1:C4>=10))

    Mangesh



    "Mangesh Yadav" <mangesh.NOSPAMyadav@gmail.com> wrote in message
    news:#sS4bD$aFHA.740@tk2msftngp13.phx.gbl...
    > =SUMPRODUCT(--(B1:B4="match"),(C1:C4>=10))
    >
    > Mangesh
    >
    >
    >
    > "NLithgow" <NLithgow@discussions.microsoft.com> wrote in message
    > news:9211E230-7346-4047-B55F-26750704CE05@microsoft.com...
    > > Trying to count number of occurences when cost centre is matched and

    > variable
    > > is greater than a certain amount for an entire list

    >
    >




  13. #13
    Max
    Guest

    Re: Trying to count occurences if 2 conditions are met

    One way via SUMPRODUCT, something like:

    =SUMPRODUCT(($A$2:$A$10=1111)*($B$2:$B$10>100))

    where 1111 is the specific cost centre (in col A) and the certain amt is 100
    (in col B)

    Adapt to the ranges to suit, but note that you can't use entire col refs in
    SUMPRODUCT
    --
    Rgds
    Max
    xl 97
    ---
    GMT+8, 1° 22' N 103° 45' E
    xdemechanik <at>yahoo<dot>com
    ----
    "NLithgow" <NLithgow@discussions.microsoft.com> wrote in message
    news:9211E230-7346-4047-B55F-26750704CE05@microsoft.com...
    > Trying to count number of occurences when cost centre is matched and

    variable
    > is greater than a certain amount for an entire list




+ 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