+ Reply to Thread
Results 1 to 4 of 4

SUMIFS using SUMPRODUCT based on multiple criteria

  1. #1
    Registered User
    Join Date
    08-17-2012
    Location
    Curacao
    MS-Off Ver
    Excel 2007
    Posts
    8

    SUMIFS using SUMPRODUCT based on multiple criteria

    Hello,
    I wish to make a formula that can sumif based on e.g. if the criteria is "Africa", it will look to the "Countries" tab, determine all of the country (2 letter) acronyms (COL A) that fall under 'Africa' (COL G), and sumif from another tab (MthlyAttr) any cells that fall into those acronyms (COL AZ & COL V). There are a couple of other criteria also (COL C & COL BI).
    Please see attached spreadsheet, requiring formulas in the green cells. I believe it may require SUMIFS & SUMPRODUCT combined.
    Many thanks!
    Attached Files Attached Files

  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,824

    Re: SUMIFS using SUMPRODUCT based on multiple criteria

    I recommend you add another column to "MthlyAttr" which contains the Region

    in BL2 and copy down

    =IFERROR(VLOOKUP($AZ2,Countries!$A$3:$G$200,7,0),"")



    Change SUMIFS:

    =SUMIFS(MthlyAttr!$G:$G, MthlyAttr!$C:$C, LEFT(C$4,1), MthlyAttr!$BI:$BI, $C$3, MthlyAttr!$BL:$BL,$B5)/SUMIF(MthlyAttr!$E:$E, "Total:", MthlyAttr!$G:$G)
    Last edited by JohnTopley; 07-05-2017 at 12:56 AM.

  3. #3
    Registered User
    Join Date
    08-17-2012
    Location
    Curacao
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: SUMIFS using SUMPRODUCT based on multiple criteria

    Thank you very much John. That indeed works but requires that I add a column to one of the source tabs. Might there be a way to accomplish the formula without having to add anything to the source tabs?

  4. #4
    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,824

    Re: SUMIFS using SUMPRODUCT based on multiple criteria

    I don't know if it can be done any other way ; hopefully someone will provide such a solution.

+ 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. [SOLVED] using SUMIFS and adding values based on multiple criteria based on selection from the drop
    By muheebrahman in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-25-2015, 12:55 AM
  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