+ Reply to Thread
Results 1 to 4 of 4

Help needed with changing SUMIFS to SUMPRODUCT

  1. #1
    Registered User
    Join Date
    09-17-2014
    Location
    Munich, Germany
    MS-Off Ver
    2007
    Posts
    4

    Help needed with changing SUMIFS to SUMPRODUCT

    Hi,

    Maybe you will be able to help me. I have small issue, the same one as I found here: http://www.excelforum.com/excel-prog...osed-file.html

    I used formula SUMIFS and it works perfectly but I used two separate files so when I close one I have error.

    Solution was to change formula for SUMPRODUCT but unfortunately I don't know how.

    Can you please help to change my formula from SUMIFS to SUMPRODUCT:

    =SUMIFS('[File Name.xlsx]Sheet Name'!H:H;'[File Name.xlsx]Sheet Name'!$A:$A;$A4;'[File Name.xlsx]Sheet Name'!$B:$B;$B4;'[File Name.xlsx]Sheet Name'!$D:$D;$D4)

    I will be very Grateful for you answer!
    Thanks.

  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: Help needed with changing SUMIFS to SUMPRODUCT

    Like this...

    =SUMPRODUCT(--('[File Name.xlsx]Sheet Name'!$A$1:$A$10=$A4);--('[File Name.xlsx]Sheet Name'!$B$1:$B$10=$B4);--('[File Name.xlsx]Sheet Name'!$D$1:$D$10=$D4);'[File Name.xlsx]Sheet Name'!$H$1:$H$10)

    You should avoid using entire columns as range references in array formulas and the SUMPRODUCT function. Use smaller specific ranges.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: Help needed with changing SUMIFS to SUMPRODUCT

    Untested, but try:

    Please Login or Register  to view this content.
    If that does not work, you may need to restrict the range sizes; (i.e. H:H becomes H2:H10000)

    Cheers,
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

  4. #4
    Registered User
    Join Date
    09-17-2014
    Location
    Munich, Germany
    MS-Off Ver
    2007
    Posts
    4

    Re: Help needed with changing SUMIFS to SUMPRODUCT

    Thank you so much!
    It works.

+ 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 or sumproduct
    By goodboy in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-10-2013, 09:53 AM
  2. [SOLVED] SUMIFS to SUMPRODUCT
    By plsm5882 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-31-2013, 05:30 PM
  3. Using SUMIFS or SUMPRODUCT
    By Ovenmittenburn in forum Excel General
    Replies: 0
    Last Post: 08-03-2011, 01:55 AM
  4. Sumifs Vs Sumproduct
    By _Lewis in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 12-21-2010, 11:28 AM
  5. Sumproduct/sumifs?
    By MjRmatt in forum Excel General
    Replies: 4
    Last Post: 07-30-2010, 08:09 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