+ Reply to Thread
Results 1 to 6 of 6

Sumproduct with multiple criteria including partial search

  1. #1
    Forum Contributor
    Join Date
    07-29-2013
    Location
    Oshawa
    MS-Off Ver
    Excel 2010
    Posts
    660

    Sumproduct with multiple criteria including partial search

    Hi everyone,

    Long time reader, first time poster. I've really been learning a lot about excel from the guru's here but this one has really stumped me:

    Column A:A lists a combination of text and numerical values, i.e. RR001030, RR001031, RR004032, RR004035, etc.
    Column F:F lists numbers between 1:100
    Cell K5 is a drop down list of figures such as RR001, RR004, etc.

    What I'm trying to do is count the number of values in column A:A has a value under 80 as listed in column F:F based on an entry (either typing it in or drop down list) in cell K5. I've been able to count the number of values in column A:A based on a type or drop down value entered in cell K5, but I can't seem to filter the results to show only values under 80 as listed in column F:F. Your genius is greatly appreciated.

    Thanks!!

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Sumproduct with multiple criteria including partial search

    Hello Groovicles, try this formula

    =SUMPRODUCT((LEFT(A2:A100,LEN(K5))=K5)*(F2:F100<80))

    adjust ranges as required
    Audere est facere

  3. #3
    Registered User
    Join Date
    03-13-2012
    Location
    Stafford, England
    MS-Off Ver
    Excel 2007
    Posts
    87

    Re: Sumproduct with multiple criteria including partial search

    Hiya mate,

    Try this, it should work

    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    07-29-2013
    Location
    Oshawa
    MS-Off Ver
    Excel 2010
    Posts
    660

    Re: Sumproduct with multiple criteria including partial search

    Wow, that was fast. Thanks very much guys! Daddylonglegs you formula worked perfectly. Kenny.fsw, your formula for some reason returned a #NAME? error. Its strange, I got the same thing with DLL's formula when I used A:A instead of A1:A100. Thanks so much guys!!

  5. #5
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Sumproduct with multiple criteria including partial search

    The reason you get the failure Name is because in the excel 2003 (which is your version according to your profile), the formula countifs don't exist.

    In that case you need to rely on sumproduct (=> which daddylonglegs has done).
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  6. #6
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Sumproduct with multiple criteria including partial search

    Quote Originally Posted by Groovicles View Post
    I got the same thing with DLL's formula when I used A:A
    You would get #NUM! error, I think - in Excel 2003 SUMPRODUCT doesn't let you use whole columns......although you can do in later versions

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. SUMIFS or SUMPRODUCT with multiple criteria including date ranges
    By baxcat in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-25-2013, 09:40 AM
  2. SUMPRODUCT Multiple search criteria
    By mrpratt in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-08-2013, 08:54 PM
  3. [SOLVED] COUNTIF / SUMPRODUCT- multiple criteria - including date range
    By Sph01 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-31-2012, 04:54 AM
  4. Replies: 1
    Last Post: 07-10-2012, 07:39 AM
  5. Sumproduct w/multiple criteria including a division calculation
    By cedarhill in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-02-2010, 01:12 PM

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