Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 9
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 195
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default 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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple Arrays, Vlookup Oggie Ben Doggie Excel Worksheet Functions 2 June 26th 06 10:29 PM
multiple arrays for SMALL command Chickalett Excel Worksheet Functions 5 March 23rd 06 07:31 AM
Creating a single vertical array from multiple column arrays Bryan Excel Worksheet Functions 2 December 10th 05 07:12 PM
How do i auto create multiple files from 1 with multiple sheets Kathy Excel Worksheet Functions 0 July 26th 05 01:23 AM
averaging specific rows in multiple arrays GJR3599 Excel Worksheet Functions 2 March 3rd 05 12:24 PM


All times are GMT +1. The time now is 01:12 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"