+ Reply to Thread
Results 1 to 5 of 5

sumproduct sum range w/ multiple ranges

  1. #1
    Forum Contributor
    Join Date
    11-26-2010
    Location
    usa
    MS-Off Ver
    Office 365
    Posts
    1,224

    sumproduct sum range w/ multiple ranges

    hello

    im trying to sum multiple ranges based on my criteria using sumproduct but the end number i am getting is not right

    =SUMPRODUCT((INDEX(_Data,0,1)=$C13)*(INDEX(_Data,0,5)=D$11),(INDEX(_Data,0,D$10)),(INDEX(_Data,0,E$10)))

    if i add D10 + E10....i should 200K...but i am getting $1M using the formula above

    can someone help?

    column D10 and E10 contain text as well. :S

  2. #2
    Valued Forum Contributor mahju's Avatar
    Join Date
    11-27-2010
    Location
    Pakistan, Faisalabad
    MS-Off Ver
    Excel 2010 plus
    Posts
    730

    Re: sumproduct sum range w/ multiple ranges

    Hi

    If it is an and condition try to use "*" in place of "," in between conditions

    Please Login or Register  to view this content.
    Regards
    Mark the thread as solved if you are satisfied with the answer.


    In your first post under the thread tools.

    Mahju

  3. #3
    Forum Contributor
    Join Date
    11-26-2010
    Location
    usa
    MS-Off Ver
    Office 365
    Posts
    1,224

    Re: sumproduct sum range w/ multiple ranges

    hey buddy

    your formula should work...however the range contains text....so the )*( is giving me value error....any thoughts?

  4. #4
    Valued Forum Contributor mahju's Avatar
    Join Date
    11-27-2010
    Location
    Pakistan, Faisalabad
    MS-Off Ver
    Excel 2010 plus
    Posts
    730

    Re: sumproduct sum range w/ multiple ranges

    Hi

    I am not sure, may try another array function sum(if(

    Regards

  5. #5
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: sumproduct sum range w/ multiple ranges

    Hi,

    Can you upload the workbook.

    Since you have XL 2007 have you considered the more efficient SUMIFS() function rather than the old SUMPRODUCT()?
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

+ 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