+ Reply to Thread
Results 1 to 9 of 9

Multiple Criteria SUMPRODUCT Formula

  1. #1
    Forum Contributor
    Join Date
    02-14-2007
    Location
    Chester, England
    MS-Off Ver
    2010 & 2016
    Posts
    312

    Multiple Criteria SUMPRODUCT Formula

    Hi All

    This is driving me mad, I hope someone can help. If I can just explain What I am hoping to get from this.

    Column V = "Yes"
    Looking up Values in the range C53 to C67 in column "I" should result in an error
    Column K must not contain "016" or "833"

    All of these criteria must be true and if they are then it should sum column AA

    Please Login or Register  to view this content.

    The formula does not produce an error but seems to be working on an OR as it is summing values where some of the criteria have not been passed.

    If anyone can help or point me in the right direction then I would be most grateful.

    Best Regards

    Jim
    Last edited by JimmyA; 07-01-2016 at 05:32 PM.

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Multiple Criteria SUMPRODUCT Formula

    "016*", "833*"

    Are the * supposed to be wildcards?

    If so, SUMPRODUCT doesn't support the use of wildcards.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,364

    Re: Multiple Criteria SUMPRODUCT Formula

    Please post a small sample file (not image) showing expected results.

  4. #4
    Forum Contributor
    Join Date
    02-14-2007
    Location
    Chester, England
    MS-Off Ver
    2010 & 2016
    Posts
    312

    Re: Multiple Criteria SUMPRODUCT Formula

    Thanks Tony

    I did not realise that. Yes they are meant to be wild cards. Is there a workaround to this?

    Thanks again.

    Jim

  5. #5
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Multiple Criteria SUMPRODUCT Formula

    Can you post some sample data of what is in column K?

    016 is a TEXT string while 833 is a number.

    If column K contains a mix of text and numbers this could get confusing!
    Last edited by Tony Valko; 07-01-2016 at 01:31 PM.

  6. #6
    Forum Contributor
    Join Date
    02-14-2007
    Location
    Chester, England
    MS-Off Ver
    2010 & 2016
    Posts
    312

    Re: Multiple Criteria SUMPRODUCT Formula

    Thanks for your quick replies

    The value in K will always be a string and always in the format "000 - text description" the unknown part is the length of the text description.

    Regards.

    Jim

  7. #7
    Forum Contributor
    Join Date
    02-14-2007
    Location
    Chester, England
    MS-Off Ver
    2010 & 2016
    Posts
    312

    Re: Multiple Criteria SUMPRODUCT Formula

    I'll put an example workbook together when I get back on my laptop.

    Cheers

    Jim

  8. #8
    Forum Contributor
    Join Date
    02-14-2007
    Location
    Chester, England
    MS-Off Ver
    2010 & 2016
    Posts
    312

    Re: Multiple Criteria SUMPRODUCT Formula

    I have managed to get this working using the LEFT formula.

    Thanks Tony for getting me started with the wildcard issue.

    Cheers

    Jim

  9. #9
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Multiple Criteria SUMPRODUCT Formula

    Good deal. Thanks for the feedback!

+ 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. SUMPRODUCT formula with multiple criteria (?)
    By ss3060 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-15-2016, 04:51 PM
  2. [SOLVED] SumProduct Formula with Multiple Criteria
    By krunk in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-08-2012, 07:56 AM
  3. How to add multiple criteria to a sumproduct formula.
    By necht_angel in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-06-2011, 11:32 AM
  4. Problem with SumProduct formula with multiple criteria.
    By KINNEY0201 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-31-2010, 09:53 AM
  5. Shorter SUMPRODUCT Formula (Multiple Criteria)
    By MobiusTrip in forum Excel General
    Replies: 5
    Last Post: 06-24-2010, 02:13 AM
  6. Replies: 8
    Last Post: 10-02-2009, 03:50 PM
  7. [SOLVED] sumproduct formula (multiple criteria)
    By Inter in forum Excel General
    Replies: 9
    Last Post: 05-18-2006, 07:50 AM

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