+ Reply to Thread
Results 1 to 8 of 8

Sumproduct with 2 arrays

  1. #1
    Forum Contributor
    Join Date
    07-26-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2016 Office 365 ProPlus
    Posts
    826

    Sumproduct with 2 arrays

    So I have this Sumproduct formula :
    Please Login or Register  to view this content.
    It looks in sheet "ZHFM" range A:A a finds "a key" which I have in D25 of the sheet with the formula.
    Then it sums the respective month which is driven by the INDEX MATCH part of the formula (this is ok and should remain).

    Now i want to add another key which the fourmula should take into account.
    It is similar to this part of the formula :
    Please Login or Register  to view this content.
    But now I want it also to look into range C:C and let say the key to use in E column.
    So it becomes a SUMIFS kind of thing.

    How should I change this formula?
    So it should be TRUE on the Key in column D and in column E.

    Thanks.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,167

    Re: Sumproduct with 2 arrays

    I would think:

    Formula: copy to clipboard
    Please Login or Register  to view this content.



    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Contributor
    Join Date
    07-26-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2016 Office 365 ProPlus
    Posts
    826

    Re: Sumproduct with 2 arrays

    Thanks TMS but unfortunately not.
    Says the formula contains an error but it does not say where...
    Could it be an "(" issue?

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,167

    Re: Sumproduct with 2 arrays

    Looks like I missed a bracket:

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  5. #5
    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,767

    Re: Sumproduct with 2 arrays

    Please post a sample file showing expected results.

  6. #6
    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,767

    Re: Sumproduct with 2 arrays

    .... but last post from TMS has correction OK (?).

  7. #7
    Forum Contributor
    Join Date
    07-26-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2016 Office 365 ProPlus
    Posts
    826

    Re: Sumproduct with 2 arrays

    Yes thanks TMS that did the trick
    Works now like a charm.

  8. #8
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,167

    Re: Sumproduct with 2 arrays

    You're welcome. Thanks for the rep.

+ 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, 2 arrays - do i need 3?
    By jinkeow in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 08-02-2013, 10:06 PM
  2. SUMPRODUCT from using Criteria Arrays
    By quinceag in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-12-2013, 06:30 PM
  3. [SOLVED] SUMPRODUCT and different arrays
    By rodich in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 05-09-2013, 07:02 AM
  4. Sumproduct Arrays And / OR
    By Henry c in forum Excel General
    Replies: 6
    Last Post: 04-30-2010, 06:55 AM
  5. Sumproduct - complex sum arrays
    By Tofu in forum Excel General
    Replies: 0
    Last Post: 04-14-2009, 05:38 PM
  6. [SOLVED] Sumproduct arrays
    By L. Howard Kittle in forum Excel General
    Replies: 4
    Last Post: 04-11-2006, 08:20 AM
  7. Problem with SUMPRODUCT and Arrays
    By rcpalmerii@illuminactive.net in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-13-2006, 06:00 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