+ Reply to Thread
Results 1 to 4 of 4

SUMPRODUCT count how many in a range that matches multiple keywords

  1. #1
    Forum Contributor
    Join Date
    07-21-2009
    Location
    Sheffield, England
    MS-Off Ver
    Excel 2010
    Posts
    117

    SUMPRODUCT count how many in a range that matches multiple keywords

    Hi - I was wondering if it's possible to use the SUMPRODUCT or similar function to count the number of records in a range that contain certain keywords? The keywords are in Range D10:E10 - The formula works if I just reference one cell but I have multiple criteria I need to search for.

    Please Login or Register  to view this content.
    Any help or suggestions would be appreciated!

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: SUMPRODUCT count how many in a range that matches multiple keywords

    Quote Originally Posted by tomlancaster View Post
    Please Login or Register  to view this content.
    I have not gone through your formula in depth, since we don't know the range reference of named ranges (Active_Month), but a quick suggestion is that you have mentioned your excel version as 2003 in your profile and using the sumproduct on whole column range (Like A:A) wont work in 2003 excel version.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Forum Contributor
    Join Date
    07-21-2009
    Location
    Sheffield, England
    MS-Off Ver
    Excel 2010
    Posts
    117

    Re: SUMPRODUCT count how many in a range that matches multiple keywords

    Many thanks for your reply - My apologies for confusion but I am using MS Excel 2010.

    The Active_Month contains a date (e.g. 01/01/2012) but this is convered in "MMMM" format as my sheets are named as Months (e.g. December)

    The formula works fine if I just reference one cell in this section of the formula:

    "ISNUMBER(FIND(D10,OFFSET(INDIRECT........"

    Cell: D10 contains a word like "INC"
    Cell E10 contains a word like "HOL"
    I'd like to reference D10:E10 so I can search the range for text containing "INC" or "HOL" etc.

  4. #4
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: SUMPRODUCT count how many in a range that matches multiple keywords

    is your last range meant to be 31 columns? that is what is causing the problems-if it's one column, then your formula will search for both values D10 and E10 in that column.
    Josie

    if at first you don't succeed try doing it the way your wife told you to

+ 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