Results 1 to 2 of 2

Thread: SUMIF COUNTIF To Look For More Than One Keyword

  1. #1
    Member
    Join Date
    Jun 2013
    Posts
    52
    Rep Power
    11

    SUMIF COUNTIF To Look For More Than One Keyword

    I'm working on creating some tables that tabulate out the different types of devices but I have run into a snag when it comes to getting the sumif command to see more then one text word to look for.

    Here is a quick example.
    I need the sumif command to look for duct, duct detector, and sup detector. When the information is pasted into the sheet people did not use only one word, like I am forcing them to now. All three items "keywords" above are used in the same sheet but mean the same thing.

    What I have so far works great for only one word but it wont let me add another. Is this even possible or will this need to be all done in VBA as well.

    =COUNTIF('INITIATING DEVICES'!B7:B2499,"DUCT")


    thanks

  2. #2
    Administrator Excel Fox's Avatar
    Join Date
    Mar 2011
    Posts
    1,401
    Rep Power
    10
    Try this

    =SUMPRODUCT(--ISNUMBER(MATCH('INITIATING DEVICES'!B7:B2499,{"DUCT","duct detector","sup detector"},0)))
    A dream is not something you see when you are asleep, but something you strive for when you are awake.

    It's usually a bad idea to say that something can't be done.

    The difference between dream and aim, is that one requires soundless sleep to see and the other requires sleepless efforts to achieve

    Join us at Facebook

Similar Threads

  1. Create subroutine VBA to replace keyword in a column
    By william516 in forum Excel Help
    Replies: 11
    Last Post: 07-25-2013, 12:17 AM
  2. Replies: 9
    Last Post: 07-21-2013, 05:50 PM
  3. Replies: 3
    Last Post: 03-12-2013, 12:54 PM
  4. Lookup & countif
    By mbabu in forum Excel Help
    Replies: 3
    Last Post: 03-26-2012, 11:29 AM
  5. COUNTIF on Non-contiguous Range
    By Admin in forum Excel and VBA Tips and Tricks
    Replies: 0
    Last Post: 04-23-2011, 04:05 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •