Results 1 to 11 of 11

Returning array for use in SUMIFS formula

Threaded View

  1. #1
    Registered User
    Join Date
    02-23-2020
    Location
    Perth, Western Australia
    MS-Off Ver
    2016
    Posts
    24

    Returning array for use in SUMIFS formula

    Hi,

    I'm trying to write a simple SUMIFS formula and am using INDEX MATCH to pull in an array to use as one of the criteria. However instead of evaluating the entire array, the criteria is only using the first matched row. I know wrapping the SUMIFS formula in SUMPRODUCT usually does the trick, but doesn't seem to be working here.

    Basically I would like map 'Item A' to 'Group A' and 'Group B' and then for each 'Type' sum up the values. So in the third table, row Type A and column Item A would sum up to 39 (10 + 15 + 14).

    I've tried the following formula in column I

    =SUMPRODUCT(SUMIFS(Table1[Value], Table1[Type],[@Type], Table1[Group], INDEX(Table2, MATCH(Table3[[#Headers],[Item A]],Table2[Item],0), MATCH("Group", Table2[#Headers],0))))
    However as explained above, only the first value (Group A) is matched. This means for 'Type A' the value is only 25 (10 + 15), when instead it should be 39 (10 + 15 + 14). I know if I replace the index with the range I'm trying to pull, the formula works perfectly.

    Also this is for Excel 2016. I have a feeling the above formula would work with Excel 365 but I need something 2016 friendly.

    Any help is appreciated. Thanks.
    Attached Files Attached Files
    Last edited by jkerrigan93; 04-14-2022 at 10:03 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. sumifs formula not returning correct value
    By juca73 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-28-2021, 10:59 AM
  2. SUMIFS formula returning a sum when should = 0
    By lucywebb in forum Excel General
    Replies: 5
    Last Post: 03-17-2020, 11:40 AM
  3. [SOLVED] Sumifs Formula returning #value!
    By Howardc1001 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-08-2019, 11:52 AM
  4. SUMIFS formula returning 0 when it should not
    By DHRose in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-03-2019, 04:36 PM
  5. SUMIFS Formula Returning 0 value when it shouldn't
    By 1cor29 in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 02-15-2018, 10:04 AM
  6. SUMIFS formula not returning values (Mac IOS)
    By hdi in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 1
    Last Post: 08-31-2015, 08:46 PM
  7. [SOLVED] SUMIFS formula returning #VALUE!
    By Kuehl5000 in forum Excel General
    Replies: 3
    Last Post: 05-25-2012, 04:11 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