Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / August 2006

Tip: Looking for answers? Try searching our database.

sum of multiple arrays?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
paula k - 17 Aug 2006 19:33 GMT
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"
shail - 17 Aug 2006 19:47 GMT
=sum(if(A2:A6="Corporate Marketing",if(B2:B6="Critical",C2:C6,"")))

Enter is as Array Function CTRL+SHIFT+ENTER

Thanks

Shail

> Here is an example of my data:
>
[quoted text clipped - 19 lines]
> I just need to know how to add another part to the array to also look up
> "Critical"
Dave Peterson - 17 Aug 2006 19:49 GMT
Try toppers' suggestion once more.

> Here is an example of my data:
>
[quoted text clipped - 19 lines]
> I just need to know how to add another part to the array to also look up
> "Critical"

Signature

Dave Peterson

Toppers - 17 Aug 2006 20:35 GMT
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))

> Here is an example of my data:
>
[quoted text clipped - 19 lines]
> I just need to know how to add another part to the array to also look up
> "Critical"
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.