+ Reply to Thread
Results 1 to 4 of 4

sum of multiple arrays?

Hybrid View

Guest sum of multiple arrays? 08-17-2006, 02:35 PM
Guest Re: sum of multiple arrays? 08-17-2006, 02:50 PM
Guest Re: sum of multiple arrays? 08-17-2006, 02:55 PM
Guest RE: sum of multiple arrays? 08-17-2006, 03:40 PM
  1. #1
    paula k
    Guest

    sum of multiple arrays?

    Here is an example of my data:


    Org criticality
    score
    Corporate Marketing critical 100
    Human Resources critical 100
    Corporate Security non-critical 75
    Finance non-critical 100
    Corporate Marketing critical 50

    I need to search column A for a specific org & B for "critical" and sum
    their values column C.

    Example lookup corporate marketing & critical would add 100+50 = 150


    here is the formula I'm using that
    is close:

    =SUMPRODUCT(SUMIF('Score Calc'!D4:D10,{"Corporate Marketing"},'Score
    Calc'!CJ4:CJ10))

    I just need to know how to add another part to the array to also look up
    "Critical"



  2. #2
    shail
    Guest

    Re: sum of multiple arrays?



    =sum(if(A2:A6="Corporate Marketing",if(B2:B6="Critical",C2:C6,"")))


    Enter is as Array Function CTRL+SHIFT+ENTER


    Thanks


    Shail



    paula k wrote:
    > Here is an example of my data:
    >
    >
    > Org criticality
    > score
    > Corporate Marketing critical 100
    > Human Resources critical 100
    > Corporate Security non-critical 75
    > Finance non-critical 100
    > Corporate Marketing critical 50
    >
    > I need to search column A for a specific org & B for "critical" and sum
    > their values column C.
    >
    > Example lookup corporate marketing & critical would add 100+50 = 150
    >
    >
    > here is the formula I'm using that
    > is close:
    >
    > =SUMPRODUCT(SUMIF('Score Calc'!D4:D10,{"Corporate Marketing"},'Score
    > Calc'!CJ4:CJ10))
    >
    > I just need to know how to add another part to the array to also look up
    > "Critical"



  3. #3
    Dave Peterson
    Guest

    Re: sum of multiple arrays?

    Try toppers' suggestion once more.

    paula k wrote:
    >
    > Here is an example of my data:
    >
    > Org criticality
    > score
    > Corporate Marketing critical 100
    > Human Resources critical 100
    > Corporate Security non-critical 75
    > Finance non-critical 100
    > Corporate Marketing critical 50
    >
    > I need to search column A for a specific org & B for "critical" and sum
    > their values column C.
    >
    > Example lookup corporate marketing & critical would add 100+50 = 150
    >
    > here is the formula I'm using that
    > is close:
    >
    > =SUMPRODUCT(SUMIF('Score Calc'!D4:D10,{"Corporate Marketing"},'Score
    > Calc'!CJ4:CJ10))
    >
    > I just need to know how to add another part to the array to also look up
    > "Critical"


    --

    Dave Peterson

  4. #4
    Toppers
    Guest

    RE: sum of multiple arrays?

    As posted in reply to your previous posting: it's your choice as whether you
    use this but it's much easier than using SUMIF.

    Use the following rather then SUMIF and change E4:E10 to required range

    =SUMPRODUCT(--('Score Calc'!D4:D10="Corporate Marketing"),--('Score
    Calc'!E4:E10="Critical"),('Score Calc'!CJ4:CJ10))


    "paula k" wrote:

    > Here is an example of my data:
    >
    >
    > Org criticality
    > score
    > Corporate Marketing critical 100
    > Human Resources critical 100
    > Corporate Security non-critical 75
    > Finance non-critical 100
    > Corporate Marketing critical 50
    >
    > I need to search column A for a specific org & B for "critical" and sum
    > their values column C.
    >
    > Example lookup corporate marketing & critical would add 100+50 = 150
    >
    >
    > here is the formula I'm using that
    > is close:
    >
    > =SUMPRODUCT(SUMIF('Score Calc'!D4:D10,{"Corporate Marketing"},'Score
    > Calc'!CJ4:CJ10))
    >
    > I just need to know how to add another part to the array to also look up
    > "Critical"
    >
    >


+ 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