+ Reply to Thread
Results 1 to 3 of 3

Sumproduct-give the sum of all the instances

  1. #1
    Registered User
    Join Date
    07-25-2006
    Posts
    14

    Sumproduct-give the sum of all the instances

    Hi,

    I Have this formula (kindy donated by this forum):

    =(SUMPRODUCT((ISNUMBER(MATCH($J$5:$J$21,'Sheet1'!$A$5:$A$21)))*(F36='sheet1'!$B$5:$B$21)*('sheet1'!$C$5:$M$21)))

    the problem is that it only gives the sum of the array for $C$5:$M$21 which matches the first value of $J$5:$J$21, and there is often more than one match for the values in $J$5:$J$21 against $B$5:$B$21.
    Is it possible to re write it so that it would give the sum of all the instances in $B$5:$B$21?
    Hope that all made sense

    Thanks

  2. #2
    Forum Contributor
    Join Date
    02-28-2006
    Posts
    690
    COULD YOU PROVIDE AN EXAMPLE SPREADSHEET AND A DESCRIPTION OF what you are trying to extract please, then all members can consider it.

  3. #3
    Bob Phillips
    Guest

    re: Sumproduct-give the sum of all the instances

    =(SUMPRODUCT((ISNUMBER(MATCH(Sheet1!$A$5:$A$21,$J$5:$J$6,0)))*(Sheet1!F36=Sh
    eet1!$B$5:$B$21)*(Sheet1!$C$5:$M$21)))

    --
    HTH

    Bob Phillips

    (replace somewhere in email address with gmail if mailing direct)

    "sanders" <[email protected]> wrote in
    message news:[email protected]...
    >
    > Hi,
    >
    > I Have this formula (kindy donated by this forum):
    >
    >

    =(SUMPRODUCT((ISNUMBER(MATCH($J$5:$J$21,'Sheet1'!$A$5:$A$21)))*(F36='sheet1'
    !$B$5:$B$21)*('sheet1'!$C$5:$M$21)))
    >
    > the problem is that it only gives the sum of the array for $C$5:$M$21
    > which matches the first value of $J$5:$J$21, and there is often more
    > than one match for the values in $J$5:$J$21 against $B$5:$B$21.
    > Is it possible to re write it so that it would give the sum of all the
    > instances in $B$5:$B$21?
    > Hope that all made sense
    >
    > Thanks
    >
    >
    > --
    > sanders
    > ------------------------------------------------------------------------
    > sanders's Profile:

    http://www.excelforum.com/member.php...o&userid=36745
    > View this thread: http://www.excelforum.com/showthread...hreadid=572997
    >




+ 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