+ Reply to Thread
Results 1 to 12 of 12

To change function from SUMPRODUCT to sumifs

Hybrid View

  1. #1
    Registered User
    Join Date
    08-30-2008
    Location
    israel
    Posts
    61

    To change function from SUMPRODUCT to sumifs

    I have function =SUMPRODUCT((M33:M48+N33:N48=J28)*(C33:C48)) ,i want same result in sumifs function .

    thanks .

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: To change function from SUMPRODUCT to sumifs

    without seeing the data you are working with, its real hard to make a suggestion - you can put just about any part, anywhere, in sumproduct, but sumifs is very specific.

    i would suggest you upload a sample work book, (all sensitive data removed), showing what data you are working with, a few examples of what your expected outcome is, and how you arrived at that
    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    08-30-2008
    Location
    israel
    Posts
    61

    Re: To change function from SUMPRODUCT to sumifs

    The file -SUMPRODUCT

  4. #4
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: To change function from SUMPRODUCT to sumifs

    As already asked by FDibbins, please post an excel file, without confidentional information.

    Then we can see, what your up to, and can test the formula's.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  5. #5
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: To change function from SUMPRODUCT to sumifs

    Could it be your saying if column M or column N equal J28 then sum column C...

    If so...

    =SUMIFS($C$33:$C$48,$M$33:$M$48,J28,$N$33:$N$48,J28)
    HTH
    Regards, Jeff

  6. #6
    Registered User
    Join Date
    08-30-2008
    Location
    israel
    Posts
    61

    Re: To change function from SUMPRODUCT to sumifs

    The file -SUMPRODUCT
    Attached Files Attached Files

  7. #7
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: To change function from SUMPRODUCT to sumifs

    How about using column G to add up column E and column F and then...

    =SUMIF(G1:G16,I11,A1:A16)

  8. #8
    Registered User
    Join Date
    08-30-2008
    Location
    israel
    Posts
    61

    Re: To change function from SUMPRODUCT to sumifs

    Is it possible without adding columns?

  9. #9
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,699

    Re: To change function from SUMPRODUCT to sumifs

    Quote Originally Posted by bines View Post
    Is it possible without adding columns?
    In a word - No

    What's wrong with using SUMPRODUCT?
    Audere est facere

  10. #10
    Registered User
    Join Date
    08-30-2008
    Location
    israel
    Posts
    61

    Re: To change function from SUMPRODUCT to sumifs

    Not wrong ,sumifs Faster ,I need to do lots of calculations.

  11. #11
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,327

    Re: To change function from SUMPRODUCT to sumifs

    I don't know of a way to not use a helper column, but I'm sure somebody else will have the appropriate solution...

  12. #12
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: To change function from SUMPRODUCT to sumifs

    If you dont want to use sumproduct, use the helper as suggested by Jeff. At worst it will be no slower than your sumproduct, and will probably be quicker

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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