+ Reply to Thread
Results 1 to 6 of 6

Unable to use SUMPRODUCT to count multiple criteria with cells with 'specific text string'

  1. #1
    Registered User
    Join Date
    07-18-2012
    Location
    Chicago
    MS-Off Ver
    Excel 2010
    Posts
    48

    Unable to use SUMPRODUCT to count multiple criteria with cells with 'specific text string'

    Hi everyone,

    I am using SUMPRODUCT to count multiple criteria in a number of columns, but I am unable to get my final "criteria" to work. I am currently counting criteria in columns H, M, O, and N using cell references to ease the effort of changing the criteria. However, I the last criteria that I am trying to add into the formula is the ability to count column L (which is a large text string) when it contains the word "Removing". the formula I am attempting to use (which is not working), is below:
    The formula is working fine, up until the point that I added the last section ...... --(Combined!$L$2:$L$2500="*Removing*"))

    Please Login or Register  to view this content.

    If anyone has any guidance and/or direction, that would be greatly appreciated.

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Unable to use SUMPRODUCT to count multiple criteria with cells with 'specific text str

    you need
    --ISNUMBER(SEARCH("Removing",Combined!$L$2:$L$2500))
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Unable to use SUMPRODUCT to count multiple criteria with cells with 'specific text str

    Why have you got a text string at the end of an arithmetic formula? What are you trying to count? the length of the string?
    the string needs to be converted to a number.

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Unable to use SUMPRODUCT to count multiple criteria with cells with 'specific text str

    deleted ---forum having a fit again
    Last edited by martindwilson; 02-04-2013 at 05:36 PM.

  5. #5
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Unable to use SUMPRODUCT to count multiple criteria with cells with 'specific text str

    @ mehmetcik what are you asking ?that is a valid formula
    well it would be
    if written
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    07-18-2012
    Location
    Chicago
    MS-Off Ver
    Excel 2010
    Posts
    48

    Re: Unable to use SUMPRODUCT to count multiple criteria with cells with 'specific text str

    That worked great! Thank you. I couldn't figure out how to convert the text string to a number. I am still new to using formulas, so I truly appreciate the quick reply!

    Have a great day!

+ 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