+ Reply to Thread
Results 1 to 41 of 41

Sumproduct based on substring?

  1. #1
    Registered User
    Join Date
    07-15-2005
    Posts
    6

    Sumproduct based on substring?

    Hi -

    I have a worksheet that has bug titles in column B and priority in column C.

    We have developed standard naming conventions for the bug title. For example:

    - MC: the Member Center has a bad help link in the header
    - FP: the Front Page has a broken image in the header

    I want to get a count of the bugs that contain a sub string of the title (e.g. "MC" or "FP") and also have a certain Priority level in column C.

    I've tried these without success:

    =SUMPRODUCT((B32:B1000="MC")*(C32:C1000="P1"))
    =SUMPRODUCT((B32:B1000="*MC*")*(C32:C1000="P1"))
    =SUMPRODUCT((B32:B1000=*MC*)*(C32:C1000="P1"))
    =SUMPRODUCT((B32:B1000,*MC*)*(C32:C1000="P1"))

    Any help would be greatly appreciated!!

  2. #2
    Biff
    Guest

    Re: Sumproduct based on substring?

    Hi!

    Try this:

    =SUMPRODUCT(--(ISNUMBER(SEARCH("MC:",B32:B1000))),--(C32:C100="P1"))

    Better:

    Use cells to hold the criteria:

    A1 = MC:
    B1 = P1

    =SUMPRODUCT(--(ISNUMBER(SEARCH(A1,B32:B1000))),--(C32:C100=B1))

    Including the colon with the string helps reduce any false positives.

    Biff

    "altopalo" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Hi -
    >
    > I have a worksheet that has bug titles in column B and priority in
    > column C.
    >
    > We have developed standard naming conventions for the bug title. For
    > example:
    >
    > - MC: the Member Center has a bad help link in the header
    > - FP: the Front Page has a broken image in the header
    >
    > I want to get a count of the bugs that contain a sub string of the
    > title (e.g. "MC" or "FP") and also have a certain Priority level in
    > column C.
    >
    > I've tried these without success:
    >
    > =SUMPRODUCT((B32:B1000="MC")*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000="*MC*")*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000=*MC*)*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000,*MC*)*(C32:C1000="P1"))
    >
    > Any help would be greatly appreciated!!
    >
    >
    > --
    > altopalo
    > ------------------------------------------------------------------------
    > altopalo's Profile:
    > http://www.excelforum.com/member.php...o&userid=25276
    > View this thread: http://www.excelforum.com/showthread...hreadid=387679
    >




  3. #3
    RagDyer
    Guest

    Re: Sumproduct based on substring?

    Try this:

    =SUMPRODUCT((ISNUMBER(SEARCH("MC",B32:B1000)))*(C32:C1000="P1"))
    --
    HTH,

    RD
    ==============================================
    Please keep all correspondence within the Group, so all may benefit!
    ==============================================



    "altopalo" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Hi -
    >
    > I have a worksheet that has bug titles in column B and priority in
    > column C.
    >
    > We have developed standard naming conventions for the bug title. For
    > example:
    >
    > - MC: the Member Center has a bad help link in the header
    > - FP: the Front Page has a broken image in the header
    >
    > I want to get a count of the bugs that contain a sub string of the
    > title (e.g. "MC" or "FP") and also have a certain Priority level in
    > column C.
    >
    > I've tried these without success:
    >
    > =SUMPRODUCT((B32:B1000="MC")*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000="*MC*")*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000=*MC*)*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000,*MC*)*(C32:C1000="P1"))
    >
    > Any help would be greatly appreciated!!
    >
    >
    > --
    > altopalo
    > ------------------------------------------------------------------------
    > altopalo's Profile:

    http://www.excelforum.com/member.php...o&userid=25276
    > View this thread: http://www.excelforum.com/showthread...hreadid=387679
    >



  4. #4
    Registered User
    Join Date
    07-15-2005
    Posts
    6
    Thank you!!!!


    =SUMPRODUCT((ISNUMBER(SEARCH("MC",B32:B1000)))*(C32:C1000="P1"))

    worked beautifully

  5. #5
    RagDyeR
    Guest

    Re: Sumproduct based on substring?


    I guess the reason it worked beautifully was because it didn't contain a
    typo, leaving out a "0".<vbg>

    Appreciate the feed-back.

    --

    Regards,

    RD
    --------------------------------------------------------------------
    Please keep all correspondence within the Group, so all may benefit !
    --------------------------------------------------------------------


    "altopalo" <[email protected]> wrote in
    message news:[email protected]...

    Thank you!!!!


    =SUMPRODUCT((ISNUMBER(SEARCH("MC",B32:B1000)))*(C32:C1000="P1"))

    worked beautifully


    --
    altopalo
    ------------------------------------------------------------------------
    altopalo's Profile:
    http://www.excelforum.com/member.php...o&userid=25276
    View this thread: http://www.excelforum.com/showthread...hreadid=387679



  6. #6
    RagDyer
    Guest

    Re: Sumproduct based on substring?

    Try this:

    =SUMPRODUCT((ISNUMBER(SEARCH("MC",B32:B1000)))*(C32:C1000="P1"))
    --
    HTH,

    RD
    ==============================================
    Please keep all correspondence within the Group, so all may benefit!
    ==============================================



    "altopalo" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Hi -
    >
    > I have a worksheet that has bug titles in column B and priority in
    > column C.
    >
    > We have developed standard naming conventions for the bug title. For
    > example:
    >
    > - MC: the Member Center has a bad help link in the header
    > - FP: the Front Page has a broken image in the header
    >
    > I want to get a count of the bugs that contain a sub string of the
    > title (e.g. "MC" or "FP") and also have a certain Priority level in
    > column C.
    >
    > I've tried these without success:
    >
    > =SUMPRODUCT((B32:B1000="MC")*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000="*MC*")*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000=*MC*)*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000,*MC*)*(C32:C1000="P1"))
    >
    > Any help would be greatly appreciated!!
    >
    >
    > --
    > altopalo
    > ------------------------------------------------------------------------
    > altopalo's Profile:

    http://www.excelforum.com/member.php...o&userid=25276
    > View this thread: http://www.excelforum.com/showthread...hreadid=387679
    >



  7. #7
    RagDyeR
    Guest

    Re: Sumproduct based on substring?


    I guess the reason it worked beautifully was because it didn't contain a
    typo, leaving out a "0".<vbg>

    Appreciate the feed-back.

    --

    Regards,

    RD
    --------------------------------------------------------------------
    Please keep all correspondence within the Group, so all may benefit !
    --------------------------------------------------------------------


    "altopalo" <[email protected]> wrote in
    message news:[email protected]...

    Thank you!!!!


    =SUMPRODUCT((ISNUMBER(SEARCH("MC",B32:B1000)))*(C32:C1000="P1"))

    worked beautifully


    --
    altopalo
    ------------------------------------------------------------------------
    altopalo's Profile:
    http://www.excelforum.com/member.php...o&userid=25276
    View this thread: http://www.excelforum.com/showthread...hreadid=387679



  8. #8
    Biff
    Guest

    Re: Sumproduct based on substring?

    Hi!

    Try this:

    =SUMPRODUCT(--(ISNUMBER(SEARCH("MC:",B32:B1000))),--(C32:C100="P1"))

    Better:

    Use cells to hold the criteria:

    A1 = MC:
    B1 = P1

    =SUMPRODUCT(--(ISNUMBER(SEARCH(A1,B32:B1000))),--(C32:C100=B1))

    Including the colon with the string helps reduce any false positives.

    Biff

    "altopalo" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Hi -
    >
    > I have a worksheet that has bug titles in column B and priority in
    > column C.
    >
    > We have developed standard naming conventions for the bug title. For
    > example:
    >
    > - MC: the Member Center has a bad help link in the header
    > - FP: the Front Page has a broken image in the header
    >
    > I want to get a count of the bugs that contain a sub string of the
    > title (e.g. "MC" or "FP") and also have a certain Priority level in
    > column C.
    >
    > I've tried these without success:
    >
    > =SUMPRODUCT((B32:B1000="MC")*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000="*MC*")*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000=*MC*)*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000,*MC*)*(C32:C1000="P1"))
    >
    > Any help would be greatly appreciated!!
    >
    >
    > --
    > altopalo
    > ------------------------------------------------------------------------
    > altopalo's Profile:
    > http://www.excelforum.com/member.php...o&userid=25276
    > View this thread: http://www.excelforum.com/showthread...hreadid=387679
    >




  9. #9
    Biff
    Guest

    Re: Sumproduct based on substring?

    Hi!

    Try this:

    =SUMPRODUCT(--(ISNUMBER(SEARCH("MC:",B32:B1000))),--(C32:C100="P1"))

    Better:

    Use cells to hold the criteria:

    A1 = MC:
    B1 = P1

    =SUMPRODUCT(--(ISNUMBER(SEARCH(A1,B32:B1000))),--(C32:C100=B1))

    Including the colon with the string helps reduce any false positives.

    Biff

    "altopalo" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Hi -
    >
    > I have a worksheet that has bug titles in column B and priority in
    > column C.
    >
    > We have developed standard naming conventions for the bug title. For
    > example:
    >
    > - MC: the Member Center has a bad help link in the header
    > - FP: the Front Page has a broken image in the header
    >
    > I want to get a count of the bugs that contain a sub string of the
    > title (e.g. "MC" or "FP") and also have a certain Priority level in
    > column C.
    >
    > I've tried these without success:
    >
    > =SUMPRODUCT((B32:B1000="MC")*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000="*MC*")*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000=*MC*)*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000,*MC*)*(C32:C1000="P1"))
    >
    > Any help would be greatly appreciated!!
    >
    >
    > --
    > altopalo
    > ------------------------------------------------------------------------
    > altopalo's Profile:
    > http://www.excelforum.com/member.php...o&userid=25276
    > View this thread: http://www.excelforum.com/showthread...hreadid=387679
    >




  10. #10
    RagDyer
    Guest

    Re: Sumproduct based on substring?

    Try this:

    =SUMPRODUCT((ISNUMBER(SEARCH("MC",B32:B1000)))*(C32:C1000="P1"))
    --
    HTH,

    RD
    ==============================================
    Please keep all correspondence within the Group, so all may benefit!
    ==============================================



    "altopalo" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Hi -
    >
    > I have a worksheet that has bug titles in column B and priority in
    > column C.
    >
    > We have developed standard naming conventions for the bug title. For
    > example:
    >
    > - MC: the Member Center has a bad help link in the header
    > - FP: the Front Page has a broken image in the header
    >
    > I want to get a count of the bugs that contain a sub string of the
    > title (e.g. "MC" or "FP") and also have a certain Priority level in
    > column C.
    >
    > I've tried these without success:
    >
    > =SUMPRODUCT((B32:B1000="MC")*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000="*MC*")*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000=*MC*)*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000,*MC*)*(C32:C1000="P1"))
    >
    > Any help would be greatly appreciated!!
    >
    >
    > --
    > altopalo
    > ------------------------------------------------------------------------
    > altopalo's Profile:

    http://www.excelforum.com/member.php...o&userid=25276
    > View this thread: http://www.excelforum.com/showthread...hreadid=387679
    >



  11. #11
    RagDyeR
    Guest

    Re: Sumproduct based on substring?


    I guess the reason it worked beautifully was because it didn't contain a
    typo, leaving out a "0".<vbg>

    Appreciate the feed-back.

    --

    Regards,

    RD
    --------------------------------------------------------------------
    Please keep all correspondence within the Group, so all may benefit !
    --------------------------------------------------------------------


    "altopalo" <[email protected]> wrote in
    message news:[email protected]...

    Thank you!!!!


    =SUMPRODUCT((ISNUMBER(SEARCH("MC",B32:B1000)))*(C32:C1000="P1"))

    worked beautifully


    --
    altopalo
    ------------------------------------------------------------------------
    altopalo's Profile:
    http://www.excelforum.com/member.php...o&userid=25276
    View this thread: http://www.excelforum.com/showthread...hreadid=387679



  12. #12
    Biff
    Guest

    Re: Sumproduct based on substring?

    Hi!

    Try this:

    =SUMPRODUCT(--(ISNUMBER(SEARCH("MC:",B32:B1000))),--(C32:C100="P1"))

    Better:

    Use cells to hold the criteria:

    A1 = MC:
    B1 = P1

    =SUMPRODUCT(--(ISNUMBER(SEARCH(A1,B32:B1000))),--(C32:C100=B1))

    Including the colon with the string helps reduce any false positives.

    Biff

    "altopalo" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Hi -
    >
    > I have a worksheet that has bug titles in column B and priority in
    > column C.
    >
    > We have developed standard naming conventions for the bug title. For
    > example:
    >
    > - MC: the Member Center has a bad help link in the header
    > - FP: the Front Page has a broken image in the header
    >
    > I want to get a count of the bugs that contain a sub string of the
    > title (e.g. "MC" or "FP") and also have a certain Priority level in
    > column C.
    >
    > I've tried these without success:
    >
    > =SUMPRODUCT((B32:B1000="MC")*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000="*MC*")*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000=*MC*)*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000,*MC*)*(C32:C1000="P1"))
    >
    > Any help would be greatly appreciated!!
    >
    >
    > --
    > altopalo
    > ------------------------------------------------------------------------
    > altopalo's Profile:
    > http://www.excelforum.com/member.php...o&userid=25276
    > View this thread: http://www.excelforum.com/showthread...hreadid=387679
    >




  13. #13
    RagDyeR
    Guest

    Re: Sumproduct based on substring?


    I guess the reason it worked beautifully was because it didn't contain a
    typo, leaving out a "0".<vbg>

    Appreciate the feed-back.

    --

    Regards,

    RD
    --------------------------------------------------------------------
    Please keep all correspondence within the Group, so all may benefit !
    --------------------------------------------------------------------


    "altopalo" <[email protected]> wrote in
    message news:[email protected]...

    Thank you!!!!


    =SUMPRODUCT((ISNUMBER(SEARCH("MC",B32:B1000)))*(C32:C1000="P1"))

    worked beautifully


    --
    altopalo
    ------------------------------------------------------------------------
    altopalo's Profile:
    http://www.excelforum.com/member.php...o&userid=25276
    View this thread: http://www.excelforum.com/showthread...hreadid=387679



  14. #14
    RagDyer
    Guest

    Re: Sumproduct based on substring?

    Try this:

    =SUMPRODUCT((ISNUMBER(SEARCH("MC",B32:B1000)))*(C32:C1000="P1"))
    --
    HTH,

    RD
    ==============================================
    Please keep all correspondence within the Group, so all may benefit!
    ==============================================



    "altopalo" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Hi -
    >
    > I have a worksheet that has bug titles in column B and priority in
    > column C.
    >
    > We have developed standard naming conventions for the bug title. For
    > example:
    >
    > - MC: the Member Center has a bad help link in the header
    > - FP: the Front Page has a broken image in the header
    >
    > I want to get a count of the bugs that contain a sub string of the
    > title (e.g. "MC" or "FP") and also have a certain Priority level in
    > column C.
    >
    > I've tried these without success:
    >
    > =SUMPRODUCT((B32:B1000="MC")*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000="*MC*")*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000=*MC*)*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000,*MC*)*(C32:C1000="P1"))
    >
    > Any help would be greatly appreciated!!
    >
    >
    > --
    > altopalo
    > ------------------------------------------------------------------------
    > altopalo's Profile:

    http://www.excelforum.com/member.php...o&userid=25276
    > View this thread: http://www.excelforum.com/showthread...hreadid=387679
    >



  15. #15
    RagDyer
    Guest

    Re: Sumproduct based on substring?

    Try this:

    =SUMPRODUCT((ISNUMBER(SEARCH("MC",B32:B1000)))*(C32:C1000="P1"))
    --
    HTH,

    RD
    ==============================================
    Please keep all correspondence within the Group, so all may benefit!
    ==============================================



    "altopalo" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Hi -
    >
    > I have a worksheet that has bug titles in column B and priority in
    > column C.
    >
    > We have developed standard naming conventions for the bug title. For
    > example:
    >
    > - MC: the Member Center has a bad help link in the header
    > - FP: the Front Page has a broken image in the header
    >
    > I want to get a count of the bugs that contain a sub string of the
    > title (e.g. "MC" or "FP") and also have a certain Priority level in
    > column C.
    >
    > I've tried these without success:
    >
    > =SUMPRODUCT((B32:B1000="MC")*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000="*MC*")*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000=*MC*)*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000,*MC*)*(C32:C1000="P1"))
    >
    > Any help would be greatly appreciated!!
    >
    >
    > --
    > altopalo
    > ------------------------------------------------------------------------
    > altopalo's Profile:

    http://www.excelforum.com/member.php...o&userid=25276
    > View this thread: http://www.excelforum.com/showthread...hreadid=387679
    >



  16. #16
    Biff
    Guest

    Re: Sumproduct based on substring?

    Hi!

    Try this:

    =SUMPRODUCT(--(ISNUMBER(SEARCH("MC:",B32:B1000))),--(C32:C100="P1"))

    Better:

    Use cells to hold the criteria:

    A1 = MC:
    B1 = P1

    =SUMPRODUCT(--(ISNUMBER(SEARCH(A1,B32:B1000))),--(C32:C100=B1))

    Including the colon with the string helps reduce any false positives.

    Biff

    "altopalo" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Hi -
    >
    > I have a worksheet that has bug titles in column B and priority in
    > column C.
    >
    > We have developed standard naming conventions for the bug title. For
    > example:
    >
    > - MC: the Member Center has a bad help link in the header
    > - FP: the Front Page has a broken image in the header
    >
    > I want to get a count of the bugs that contain a sub string of the
    > title (e.g. "MC" or "FP") and also have a certain Priority level in
    > column C.
    >
    > I've tried these without success:
    >
    > =SUMPRODUCT((B32:B1000="MC")*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000="*MC*")*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000=*MC*)*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000,*MC*)*(C32:C1000="P1"))
    >
    > Any help would be greatly appreciated!!
    >
    >
    > --
    > altopalo
    > ------------------------------------------------------------------------
    > altopalo's Profile:
    > http://www.excelforum.com/member.php...o&userid=25276
    > View this thread: http://www.excelforum.com/showthread...hreadid=387679
    >




  17. #17
    RagDyeR
    Guest

    Re: Sumproduct based on substring?


    I guess the reason it worked beautifully was because it didn't contain a
    typo, leaving out a "0".<vbg>

    Appreciate the feed-back.

    --

    Regards,

    RD
    --------------------------------------------------------------------
    Please keep all correspondence within the Group, so all may benefit !
    --------------------------------------------------------------------


    "altopalo" <[email protected]> wrote in
    message news:[email protected]...

    Thank you!!!!


    =SUMPRODUCT((ISNUMBER(SEARCH("MC",B32:B1000)))*(C32:C1000="P1"))

    worked beautifully


    --
    altopalo
    ------------------------------------------------------------------------
    altopalo's Profile:
    http://www.excelforum.com/member.php...o&userid=25276
    View this thread: http://www.excelforum.com/showthread...hreadid=387679



  18. #18
    RagDyeR
    Guest

    Re: Sumproduct based on substring?


    I guess the reason it worked beautifully was because it didn't contain a
    typo, leaving out a "0".<vbg>

    Appreciate the feed-back.

    --

    Regards,

    RD
    --------------------------------------------------------------------
    Please keep all correspondence within the Group, so all may benefit !
    --------------------------------------------------------------------


    "altopalo" <[email protected]> wrote in
    message news:[email protected]...

    Thank you!!!!


    =SUMPRODUCT((ISNUMBER(SEARCH("MC",B32:B1000)))*(C32:C1000="P1"))

    worked beautifully


    --
    altopalo
    ------------------------------------------------------------------------
    altopalo's Profile:
    http://www.excelforum.com/member.php...o&userid=25276
    View this thread: http://www.excelforum.com/showthread...hreadid=387679



  19. #19
    Biff
    Guest

    Re: Sumproduct based on substring?

    Hi!

    Try this:

    =SUMPRODUCT(--(ISNUMBER(SEARCH("MC:",B32:B1000))),--(C32:C100="P1"))

    Better:

    Use cells to hold the criteria:

    A1 = MC:
    B1 = P1

    =SUMPRODUCT(--(ISNUMBER(SEARCH(A1,B32:B1000))),--(C32:C100=B1))

    Including the colon with the string helps reduce any false positives.

    Biff

    "altopalo" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Hi -
    >
    > I have a worksheet that has bug titles in column B and priority in
    > column C.
    >
    > We have developed standard naming conventions for the bug title. For
    > example:
    >
    > - MC: the Member Center has a bad help link in the header
    > - FP: the Front Page has a broken image in the header
    >
    > I want to get a count of the bugs that contain a sub string of the
    > title (e.g. "MC" or "FP") and also have a certain Priority level in
    > column C.
    >
    > I've tried these without success:
    >
    > =SUMPRODUCT((B32:B1000="MC")*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000="*MC*")*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000=*MC*)*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000,*MC*)*(C32:C1000="P1"))
    >
    > Any help would be greatly appreciated!!
    >
    >
    > --
    > altopalo
    > ------------------------------------------------------------------------
    > altopalo's Profile:
    > http://www.excelforum.com/member.php...o&userid=25276
    > View this thread: http://www.excelforum.com/showthread...hreadid=387679
    >




  20. #20
    RagDyer
    Guest

    Re: Sumproduct based on substring?

    Try this:

    =SUMPRODUCT((ISNUMBER(SEARCH("MC",B32:B1000)))*(C32:C1000="P1"))
    --
    HTH,

    RD
    ==============================================
    Please keep all correspondence within the Group, so all may benefit!
    ==============================================



    "altopalo" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Hi -
    >
    > I have a worksheet that has bug titles in column B and priority in
    > column C.
    >
    > We have developed standard naming conventions for the bug title. For
    > example:
    >
    > - MC: the Member Center has a bad help link in the header
    > - FP: the Front Page has a broken image in the header
    >
    > I want to get a count of the bugs that contain a sub string of the
    > title (e.g. "MC" or "FP") and also have a certain Priority level in
    > column C.
    >
    > I've tried these without success:
    >
    > =SUMPRODUCT((B32:B1000="MC")*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000="*MC*")*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000=*MC*)*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000,*MC*)*(C32:C1000="P1"))
    >
    > Any help would be greatly appreciated!!
    >
    >
    > --
    > altopalo
    > ------------------------------------------------------------------------
    > altopalo's Profile:

    http://www.excelforum.com/member.php...o&userid=25276
    > View this thread: http://www.excelforum.com/showthread...hreadid=387679
    >



  21. #21
    RagDyer
    Guest

    Re: Sumproduct based on substring?

    Try this:

    =SUMPRODUCT((ISNUMBER(SEARCH("MC",B32:B1000)))*(C32:C1000="P1"))
    --
    HTH,

    RD
    ==============================================
    Please keep all correspondence within the Group, so all may benefit!
    ==============================================



    "altopalo" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Hi -
    >
    > I have a worksheet that has bug titles in column B and priority in
    > column C.
    >
    > We have developed standard naming conventions for the bug title. For
    > example:
    >
    > - MC: the Member Center has a bad help link in the header
    > - FP: the Front Page has a broken image in the header
    >
    > I want to get a count of the bugs that contain a sub string of the
    > title (e.g. "MC" or "FP") and also have a certain Priority level in
    > column C.
    >
    > I've tried these without success:
    >
    > =SUMPRODUCT((B32:B1000="MC")*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000="*MC*")*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000=*MC*)*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000,*MC*)*(C32:C1000="P1"))
    >
    > Any help would be greatly appreciated!!
    >
    >
    > --
    > altopalo
    > ------------------------------------------------------------------------
    > altopalo's Profile:

    http://www.excelforum.com/member.php...o&userid=25276
    > View this thread: http://www.excelforum.com/showthread...hreadid=387679
    >



  22. #22
    RagDyeR
    Guest

    Re: Sumproduct based on substring?


    I guess the reason it worked beautifully was because it didn't contain a
    typo, leaving out a "0".<vbg>

    Appreciate the feed-back.

    --

    Regards,

    RD
    --------------------------------------------------------------------
    Please keep all correspondence within the Group, so all may benefit !
    --------------------------------------------------------------------


    "altopalo" <[email protected]> wrote in
    message news:[email protected]...

    Thank you!!!!


    =SUMPRODUCT((ISNUMBER(SEARCH("MC",B32:B1000)))*(C32:C1000="P1"))

    worked beautifully


    --
    altopalo
    ------------------------------------------------------------------------
    altopalo's Profile:
    http://www.excelforum.com/member.php...o&userid=25276
    View this thread: http://www.excelforum.com/showthread...hreadid=387679



  23. #23
    Biff
    Guest

    Re: Sumproduct based on substring?

    Hi!

    Try this:

    =SUMPRODUCT(--(ISNUMBER(SEARCH("MC:",B32:B1000))),--(C32:C100="P1"))

    Better:

    Use cells to hold the criteria:

    A1 = MC:
    B1 = P1

    =SUMPRODUCT(--(ISNUMBER(SEARCH(A1,B32:B1000))),--(C32:C100=B1))

    Including the colon with the string helps reduce any false positives.

    Biff

    "altopalo" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Hi -
    >
    > I have a worksheet that has bug titles in column B and priority in
    > column C.
    >
    > We have developed standard naming conventions for the bug title. For
    > example:
    >
    > - MC: the Member Center has a bad help link in the header
    > - FP: the Front Page has a broken image in the header
    >
    > I want to get a count of the bugs that contain a sub string of the
    > title (e.g. "MC" or "FP") and also have a certain Priority level in
    > column C.
    >
    > I've tried these without success:
    >
    > =SUMPRODUCT((B32:B1000="MC")*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000="*MC*")*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000=*MC*)*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000,*MC*)*(C32:C1000="P1"))
    >
    > Any help would be greatly appreciated!!
    >
    >
    > --
    > altopalo
    > ------------------------------------------------------------------------
    > altopalo's Profile:
    > http://www.excelforum.com/member.php...o&userid=25276
    > View this thread: http://www.excelforum.com/showthread...hreadid=387679
    >




  24. #24
    RagDyeR
    Guest

    Re: Sumproduct based on substring?


    I guess the reason it worked beautifully was because it didn't contain a
    typo, leaving out a "0".<vbg>

    Appreciate the feed-back.

    --

    Regards,

    RD
    --------------------------------------------------------------------
    Please keep all correspondence within the Group, so all may benefit !
    --------------------------------------------------------------------


    "altopalo" <[email protected]> wrote in
    message news:[email protected]...

    Thank you!!!!


    =SUMPRODUCT((ISNUMBER(SEARCH("MC",B32:B1000)))*(C32:C1000="P1"))

    worked beautifully


    --
    altopalo
    ------------------------------------------------------------------------
    altopalo's Profile:
    http://www.excelforum.com/member.php...o&userid=25276
    View this thread: http://www.excelforum.com/showthread...hreadid=387679



  25. #25
    RagDyer
    Guest

    Re: Sumproduct based on substring?

    Try this:

    =SUMPRODUCT((ISNUMBER(SEARCH("MC",B32:B1000)))*(C32:C1000="P1"))
    --
    HTH,

    RD
    ==============================================
    Please keep all correspondence within the Group, so all may benefit!
    ==============================================



    "altopalo" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Hi -
    >
    > I have a worksheet that has bug titles in column B and priority in
    > column C.
    >
    > We have developed standard naming conventions for the bug title. For
    > example:
    >
    > - MC: the Member Center has a bad help link in the header
    > - FP: the Front Page has a broken image in the header
    >
    > I want to get a count of the bugs that contain a sub string of the
    > title (e.g. "MC" or "FP") and also have a certain Priority level in
    > column C.
    >
    > I've tried these without success:
    >
    > =SUMPRODUCT((B32:B1000="MC")*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000="*MC*")*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000=*MC*)*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000,*MC*)*(C32:C1000="P1"))
    >
    > Any help would be greatly appreciated!!
    >
    >
    > --
    > altopalo
    > ------------------------------------------------------------------------
    > altopalo's Profile:

    http://www.excelforum.com/member.php...o&userid=25276
    > View this thread: http://www.excelforum.com/showthread...hreadid=387679
    >



  26. #26
    Biff
    Guest

    Re: Sumproduct based on substring?

    Hi!

    Try this:

    =SUMPRODUCT(--(ISNUMBER(SEARCH("MC:",B32:B1000))),--(C32:C100="P1"))

    Better:

    Use cells to hold the criteria:

    A1 = MC:
    B1 = P1

    =SUMPRODUCT(--(ISNUMBER(SEARCH(A1,B32:B1000))),--(C32:C100=B1))

    Including the colon with the string helps reduce any false positives.

    Biff

    "altopalo" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Hi -
    >
    > I have a worksheet that has bug titles in column B and priority in
    > column C.
    >
    > We have developed standard naming conventions for the bug title. For
    > example:
    >
    > - MC: the Member Center has a bad help link in the header
    > - FP: the Front Page has a broken image in the header
    >
    > I want to get a count of the bugs that contain a sub string of the
    > title (e.g. "MC" or "FP") and also have a certain Priority level in
    > column C.
    >
    > I've tried these without success:
    >
    > =SUMPRODUCT((B32:B1000="MC")*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000="*MC*")*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000=*MC*)*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000,*MC*)*(C32:C1000="P1"))
    >
    > Any help would be greatly appreciated!!
    >
    >
    > --
    > altopalo
    > ------------------------------------------------------------------------
    > altopalo's Profile:
    > http://www.excelforum.com/member.php...o&userid=25276
    > View this thread: http://www.excelforum.com/showthread...hreadid=387679
    >




  27. #27
    RagDyeR
    Guest

    Re: Sumproduct based on substring?


    I guess the reason it worked beautifully was because it didn't contain a
    typo, leaving out a "0".<vbg>

    Appreciate the feed-back.

    --

    Regards,

    RD
    --------------------------------------------------------------------
    Please keep all correspondence within the Group, so all may benefit !
    --------------------------------------------------------------------


    "altopalo" <[email protected]> wrote in
    message news:[email protected]...

    Thank you!!!!


    =SUMPRODUCT((ISNUMBER(SEARCH("MC",B32:B1000)))*(C32:C1000="P1"))

    worked beautifully


    --
    altopalo
    ------------------------------------------------------------------------
    altopalo's Profile:
    http://www.excelforum.com/member.php...o&userid=25276
    View this thread: http://www.excelforum.com/showthread...hreadid=387679



  28. #28
    RagDyer
    Guest

    Re: Sumproduct based on substring?

    Try this:

    =SUMPRODUCT((ISNUMBER(SEARCH("MC",B32:B1000)))*(C32:C1000="P1"))
    --
    HTH,

    RD
    ==============================================
    Please keep all correspondence within the Group, so all may benefit!
    ==============================================



    "altopalo" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Hi -
    >
    > I have a worksheet that has bug titles in column B and priority in
    > column C.
    >
    > We have developed standard naming conventions for the bug title. For
    > example:
    >
    > - MC: the Member Center has a bad help link in the header
    > - FP: the Front Page has a broken image in the header
    >
    > I want to get a count of the bugs that contain a sub string of the
    > title (e.g. "MC" or "FP") and also have a certain Priority level in
    > column C.
    >
    > I've tried these without success:
    >
    > =SUMPRODUCT((B32:B1000="MC")*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000="*MC*")*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000=*MC*)*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000,*MC*)*(C32:C1000="P1"))
    >
    > Any help would be greatly appreciated!!
    >
    >
    > --
    > altopalo
    > ------------------------------------------------------------------------
    > altopalo's Profile:

    http://www.excelforum.com/member.php...o&userid=25276
    > View this thread: http://www.excelforum.com/showthread...hreadid=387679
    >



  29. #29
    Biff
    Guest

    Re: Sumproduct based on substring?

    Hi!

    Try this:

    =SUMPRODUCT(--(ISNUMBER(SEARCH("MC:",B32:B1000))),--(C32:C100="P1"))

    Better:

    Use cells to hold the criteria:

    A1 = MC:
    B1 = P1

    =SUMPRODUCT(--(ISNUMBER(SEARCH(A1,B32:B1000))),--(C32:C100=B1))

    Including the colon with the string helps reduce any false positives.

    Biff

    "altopalo" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Hi -
    >
    > I have a worksheet that has bug titles in column B and priority in
    > column C.
    >
    > We have developed standard naming conventions for the bug title. For
    > example:
    >
    > - MC: the Member Center has a bad help link in the header
    > - FP: the Front Page has a broken image in the header
    >
    > I want to get a count of the bugs that contain a sub string of the
    > title (e.g. "MC" or "FP") and also have a certain Priority level in
    > column C.
    >
    > I've tried these without success:
    >
    > =SUMPRODUCT((B32:B1000="MC")*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000="*MC*")*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000=*MC*)*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000,*MC*)*(C32:C1000="P1"))
    >
    > Any help would be greatly appreciated!!
    >
    >
    > --
    > altopalo
    > ------------------------------------------------------------------------
    > altopalo's Profile:
    > http://www.excelforum.com/member.php...o&userid=25276
    > View this thread: http://www.excelforum.com/showthread...hreadid=387679
    >




  30. #30
    RagDyeR
    Guest

    Re: Sumproduct based on substring?


    I guess the reason it worked beautifully was because it didn't contain a
    typo, leaving out a "0".<vbg>

    Appreciate the feed-back.

    --

    Regards,

    RD
    --------------------------------------------------------------------
    Please keep all correspondence within the Group, so all may benefit !
    --------------------------------------------------------------------


    "altopalo" <[email protected]> wrote in
    message news:[email protected]...

    Thank you!!!!


    =SUMPRODUCT((ISNUMBER(SEARCH("MC",B32:B1000)))*(C32:C1000="P1"))

    worked beautifully


    --
    altopalo
    ------------------------------------------------------------------------
    altopalo's Profile:
    http://www.excelforum.com/member.php...o&userid=25276
    View this thread: http://www.excelforum.com/showthread...hreadid=387679



  31. #31
    RagDyer
    Guest

    Re: Sumproduct based on substring?

    Try this:

    =SUMPRODUCT((ISNUMBER(SEARCH("MC",B32:B1000)))*(C32:C1000="P1"))
    --
    HTH,

    RD
    ==============================================
    Please keep all correspondence within the Group, so all may benefit!
    ==============================================



    "altopalo" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Hi -
    >
    > I have a worksheet that has bug titles in column B and priority in
    > column C.
    >
    > We have developed standard naming conventions for the bug title. For
    > example:
    >
    > - MC: the Member Center has a bad help link in the header
    > - FP: the Front Page has a broken image in the header
    >
    > I want to get a count of the bugs that contain a sub string of the
    > title (e.g. "MC" or "FP") and also have a certain Priority level in
    > column C.
    >
    > I've tried these without success:
    >
    > =SUMPRODUCT((B32:B1000="MC")*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000="*MC*")*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000=*MC*)*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000,*MC*)*(C32:C1000="P1"))
    >
    > Any help would be greatly appreciated!!
    >
    >
    > --
    > altopalo
    > ------------------------------------------------------------------------
    > altopalo's Profile:

    http://www.excelforum.com/member.php...o&userid=25276
    > View this thread: http://www.excelforum.com/showthread...hreadid=387679
    >



  32. #32
    Biff
    Guest

    Re: Sumproduct based on substring?

    Hi!

    Try this:

    =SUMPRODUCT(--(ISNUMBER(SEARCH("MC:",B32:B1000))),--(C32:C100="P1"))

    Better:

    Use cells to hold the criteria:

    A1 = MC:
    B1 = P1

    =SUMPRODUCT(--(ISNUMBER(SEARCH(A1,B32:B1000))),--(C32:C100=B1))

    Including the colon with the string helps reduce any false positives.

    Biff

    "altopalo" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Hi -
    >
    > I have a worksheet that has bug titles in column B and priority in
    > column C.
    >
    > We have developed standard naming conventions for the bug title. For
    > example:
    >
    > - MC: the Member Center has a bad help link in the header
    > - FP: the Front Page has a broken image in the header
    >
    > I want to get a count of the bugs that contain a sub string of the
    > title (e.g. "MC" or "FP") and also have a certain Priority level in
    > column C.
    >
    > I've tried these without success:
    >
    > =SUMPRODUCT((B32:B1000="MC")*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000="*MC*")*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000=*MC*)*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000,*MC*)*(C32:C1000="P1"))
    >
    > Any help would be greatly appreciated!!
    >
    >
    > --
    > altopalo
    > ------------------------------------------------------------------------
    > altopalo's Profile:
    > http://www.excelforum.com/member.php...o&userid=25276
    > View this thread: http://www.excelforum.com/showthread...hreadid=387679
    >




  33. #33
    Biff
    Guest

    Re: Sumproduct based on substring?

    Hi!

    Try this:

    =SUMPRODUCT(--(ISNUMBER(SEARCH("MC:",B32:B1000))),--(C32:C100="P1"))

    Better:

    Use cells to hold the criteria:

    A1 = MC:
    B1 = P1

    =SUMPRODUCT(--(ISNUMBER(SEARCH(A1,B32:B1000))),--(C32:C100=B1))

    Including the colon with the string helps reduce any false positives.

    Biff

    "altopalo" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Hi -
    >
    > I have a worksheet that has bug titles in column B and priority in
    > column C.
    >
    > We have developed standard naming conventions for the bug title. For
    > example:
    >
    > - MC: the Member Center has a bad help link in the header
    > - FP: the Front Page has a broken image in the header
    >
    > I want to get a count of the bugs that contain a sub string of the
    > title (e.g. "MC" or "FP") and also have a certain Priority level in
    > column C.
    >
    > I've tried these without success:
    >
    > =SUMPRODUCT((B32:B1000="MC")*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000="*MC*")*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000=*MC*)*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000,*MC*)*(C32:C1000="P1"))
    >
    > Any help would be greatly appreciated!!
    >
    >
    > --
    > altopalo
    > ------------------------------------------------------------------------
    > altopalo's Profile:
    > http://www.excelforum.com/member.php...o&userid=25276
    > View this thread: http://www.excelforum.com/showthread...hreadid=387679
    >




  34. #34
    RagDyer
    Guest

    Re: Sumproduct based on substring?

    Try this:

    =SUMPRODUCT((ISNUMBER(SEARCH("MC",B32:B1000)))*(C32:C1000="P1"))
    --
    HTH,

    RD
    ==============================================
    Please keep all correspondence within the Group, so all may benefit!
    ==============================================



    "altopalo" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Hi -
    >
    > I have a worksheet that has bug titles in column B and priority in
    > column C.
    >
    > We have developed standard naming conventions for the bug title. For
    > example:
    >
    > - MC: the Member Center has a bad help link in the header
    > - FP: the Front Page has a broken image in the header
    >
    > I want to get a count of the bugs that contain a sub string of the
    > title (e.g. "MC" or "FP") and also have a certain Priority level in
    > column C.
    >
    > I've tried these without success:
    >
    > =SUMPRODUCT((B32:B1000="MC")*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000="*MC*")*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000=*MC*)*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000,*MC*)*(C32:C1000="P1"))
    >
    > Any help would be greatly appreciated!!
    >
    >
    > --
    > altopalo
    > ------------------------------------------------------------------------
    > altopalo's Profile:

    http://www.excelforum.com/member.php...o&userid=25276
    > View this thread: http://www.excelforum.com/showthread...hreadid=387679
    >



  35. #35
    RagDyeR
    Guest

    Re: Sumproduct based on substring?


    I guess the reason it worked beautifully was because it didn't contain a
    typo, leaving out a "0".<vbg>

    Appreciate the feed-back.

    --

    Regards,

    RD
    --------------------------------------------------------------------
    Please keep all correspondence within the Group, so all may benefit !
    --------------------------------------------------------------------


    "altopalo" <[email protected]> wrote in
    message news:[email protected]...

    Thank you!!!!


    =SUMPRODUCT((ISNUMBER(SEARCH("MC",B32:B1000)))*(C32:C1000="P1"))

    worked beautifully


    --
    altopalo
    ------------------------------------------------------------------------
    altopalo's Profile:
    http://www.excelforum.com/member.php...o&userid=25276
    View this thread: http://www.excelforum.com/showthread...hreadid=387679



  36. #36
    Biff
    Guest

    Re: Sumproduct based on substring?

    Hi!

    Try this:

    =SUMPRODUCT(--(ISNUMBER(SEARCH("MC:",B32:B1000))),--(C32:C100="P1"))

    Better:

    Use cells to hold the criteria:

    A1 = MC:
    B1 = P1

    =SUMPRODUCT(--(ISNUMBER(SEARCH(A1,B32:B1000))),--(C32:C100=B1))

    Including the colon with the string helps reduce any false positives.

    Biff

    "altopalo" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Hi -
    >
    > I have a worksheet that has bug titles in column B and priority in
    > column C.
    >
    > We have developed standard naming conventions for the bug title. For
    > example:
    >
    > - MC: the Member Center has a bad help link in the header
    > - FP: the Front Page has a broken image in the header
    >
    > I want to get a count of the bugs that contain a sub string of the
    > title (e.g. "MC" or "FP") and also have a certain Priority level in
    > column C.
    >
    > I've tried these without success:
    >
    > =SUMPRODUCT((B32:B1000="MC")*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000="*MC*")*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000=*MC*)*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000,*MC*)*(C32:C1000="P1"))
    >
    > Any help would be greatly appreciated!!
    >
    >
    > --
    > altopalo
    > ------------------------------------------------------------------------
    > altopalo's Profile:
    > http://www.excelforum.com/member.php...o&userid=25276
    > View this thread: http://www.excelforum.com/showthread...hreadid=387679
    >




  37. #37
    RagDyer
    Guest

    Re: Sumproduct based on substring?

    Try this:

    =SUMPRODUCT((ISNUMBER(SEARCH("MC",B32:B1000)))*(C32:C1000="P1"))
    --
    HTH,

    RD
    ==============================================
    Please keep all correspondence within the Group, so all may benefit!
    ==============================================



    "altopalo" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Hi -
    >
    > I have a worksheet that has bug titles in column B and priority in
    > column C.
    >
    > We have developed standard naming conventions for the bug title. For
    > example:
    >
    > - MC: the Member Center has a bad help link in the header
    > - FP: the Front Page has a broken image in the header
    >
    > I want to get a count of the bugs that contain a sub string of the
    > title (e.g. "MC" or "FP") and also have a certain Priority level in
    > column C.
    >
    > I've tried these without success:
    >
    > =SUMPRODUCT((B32:B1000="MC")*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000="*MC*")*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000=*MC*)*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000,*MC*)*(C32:C1000="P1"))
    >
    > Any help would be greatly appreciated!!
    >
    >
    > --
    > altopalo
    > ------------------------------------------------------------------------
    > altopalo's Profile:

    http://www.excelforum.com/member.php...o&userid=25276
    > View this thread: http://www.excelforum.com/showthread...hreadid=387679
    >



  38. #38
    RagDyeR
    Guest

    Re: Sumproduct based on substring?


    I guess the reason it worked beautifully was because it didn't contain a
    typo, leaving out a "0".<vbg>

    Appreciate the feed-back.

    --

    Regards,

    RD
    --------------------------------------------------------------------
    Please keep all correspondence within the Group, so all may benefit !
    --------------------------------------------------------------------


    "altopalo" <[email protected]> wrote in
    message news:[email protected]...

    Thank you!!!!


    =SUMPRODUCT((ISNUMBER(SEARCH("MC",B32:B1000)))*(C32:C1000="P1"))

    worked beautifully


    --
    altopalo
    ------------------------------------------------------------------------
    altopalo's Profile:
    http://www.excelforum.com/member.php...o&userid=25276
    View this thread: http://www.excelforum.com/showthread...hreadid=387679



  39. #39
    RagDyeR
    Guest

    Re: Sumproduct based on substring?


    I guess the reason it worked beautifully was because it didn't contain a
    typo, leaving out a "0".<vbg>

    Appreciate the feed-back.

    --

    Regards,

    RD
    --------------------------------------------------------------------
    Please keep all correspondence within the Group, so all may benefit !
    --------------------------------------------------------------------


    "altopalo" <[email protected]> wrote in
    message news:[email protected]...

    Thank you!!!!


    =SUMPRODUCT((ISNUMBER(SEARCH("MC",B32:B1000)))*(C32:C1000="P1"))

    worked beautifully


    --
    altopalo
    ------------------------------------------------------------------------
    altopalo's Profile:
    http://www.excelforum.com/member.php...o&userid=25276
    View this thread: http://www.excelforum.com/showthread...hreadid=387679



  40. #40
    RagDyer
    Guest

    Re: Sumproduct based on substring?

    Try this:

    =SUMPRODUCT((ISNUMBER(SEARCH("MC",B32:B1000)))*(C32:C1000="P1"))
    --
    HTH,

    RD
    ==============================================
    Please keep all correspondence within the Group, so all may benefit!
    ==============================================



    "altopalo" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Hi -
    >
    > I have a worksheet that has bug titles in column B and priority in
    > column C.
    >
    > We have developed standard naming conventions for the bug title. For
    > example:
    >
    > - MC: the Member Center has a bad help link in the header
    > - FP: the Front Page has a broken image in the header
    >
    > I want to get a count of the bugs that contain a sub string of the
    > title (e.g. "MC" or "FP") and also have a certain Priority level in
    > column C.
    >
    > I've tried these without success:
    >
    > =SUMPRODUCT((B32:B1000="MC")*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000="*MC*")*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000=*MC*)*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000,*MC*)*(C32:C1000="P1"))
    >
    > Any help would be greatly appreciated!!
    >
    >
    > --
    > altopalo
    > ------------------------------------------------------------------------
    > altopalo's Profile:

    http://www.excelforum.com/member.php...o&userid=25276
    > View this thread: http://www.excelforum.com/showthread...hreadid=387679
    >



  41. #41
    Biff
    Guest

    Re: Sumproduct based on substring?

    Hi!

    Try this:

    =SUMPRODUCT(--(ISNUMBER(SEARCH("MC:",B32:B1000))),--(C32:C100="P1"))

    Better:

    Use cells to hold the criteria:

    A1 = MC:
    B1 = P1

    =SUMPRODUCT(--(ISNUMBER(SEARCH(A1,B32:B1000))),--(C32:C100=B1))

    Including the colon with the string helps reduce any false positives.

    Biff

    "altopalo" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Hi -
    >
    > I have a worksheet that has bug titles in column B and priority in
    > column C.
    >
    > We have developed standard naming conventions for the bug title. For
    > example:
    >
    > - MC: the Member Center has a bad help link in the header
    > - FP: the Front Page has a broken image in the header
    >
    > I want to get a count of the bugs that contain a sub string of the
    > title (e.g. "MC" or "FP") and also have a certain Priority level in
    > column C.
    >
    > I've tried these without success:
    >
    > =SUMPRODUCT((B32:B1000="MC")*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000="*MC*")*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000=*MC*)*(C32:C1000="P1"))
    > =SUMPRODUCT((B32:B1000,*MC*)*(C32:C1000="P1"))
    >
    > Any help would be greatly appreciated!!
    >
    >
    > --
    > altopalo
    > ------------------------------------------------------------------------
    > altopalo's Profile:
    > http://www.excelforum.com/member.php...o&userid=25276
    > View this thread: http://www.excelforum.com/showthread...hreadid=387679
    >




+ 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