+ Reply to Thread
Results 1 to 4 of 4

SUMIFS / SUMPRODUCT with multiple criteria

  1. #1
    Registered User
    Join Date
    03-20-2009
    Location
    Lithuania
    MS-Off Ver
    Excel 2013
    Posts
    99

    SUMIFS / SUMPRODUCT with multiple criteria

    Hi,

    I need to sumif values in certain column using multiple criteria. Here's what I came so far.
    I could use Excel function SUMIFS:
    Please Login or Register  to view this content.
    But the issue with SUMIFS is that I have to use array criteria between brackets {}, but I'd like to use array criteria as a range instead. For instance,
    Please Login or Register  to view this content.
    I could use Excel function SUMPRODUCT:
    Please Login or Register  to view this content.
    But the issue with SUMPRODUCT is that wildcard "*" doesn't work, function searches for symbol "*", but I need it to search for any character. I need to use wildcard "*", because sometimes this criteria may be specified (for instance, Duomenys!$B:$B="ASD"), but sometimes I may need to sum everything.

    So with SUMIFS I can use wildcard "*", but can't use array criteria as a range, and with SUMPRODUCT I can't use wildcard "*", but can use array criteria as a range.

    My question: is it somehow possible to use wildcard "*" in SUMPRODUCT or to use array criteria as a range in SUMIFS?
    Last edited by walduxas; 05-23-2018 at 06:49 AM.

  2. #2
    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
    30,786

    Re: SUMIFS / SUMPRODUCT with multiple criteria

    With SUMPRODUCT use ..

    =SUMPRODUCT(--(ISNUMBER(SEARCH("*",B:B))))

    or

    =SUMPRODUCT(--(ISNUMBER(SEARCH("ASD",B:B))))

  3. #3
    Registered User
    Join Date
    03-20-2009
    Location
    Lithuania
    MS-Off Ver
    Excel 2013
    Posts
    99

    Re: SUMIFS / SUMPRODUCT with multiple criteria

    I also thought of using SEARCH function. But it is looking for partial match. For instance, if there was object "ASDF", then SEARCH function would include this object and it would be summed.
    However, when the criteria is specified, I need exact match, sum only "ASD" objects.

    I also tried using MATCH function, but I couldn't find how to use wildcard "*" in it.

  4. #4
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,940

    Re: SUMIFS / SUMPRODUCT with multiple criteria

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

+ 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 using SUMPRODUCT based on multiple criteria
    By PaulGMD in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-05-2017, 12:13 PM
  2. [SOLVED] sumproduct Or sumifs on multiple criteria matching day & time
    By tabkaz in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 03-16-2015, 05:45 AM
  3. Replies: 5
    Last Post: 02-06-2015, 08:44 PM
  4. SUMIFS or SUMPRODUCT with Multiple Columns and with Date Criteria
    By eac8423 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-04-2014, 05:20 PM
  5. 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
  6. Replies: 2
    Last Post: 01-23-2013, 06:25 AM
  7. [SOLVED] sumproduct and sumifs using multiple criteria across worksheets
    By mick86 in forum Excel General
    Replies: 4
    Last Post: 08-29-2012, 02:51 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