Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
 
Posts: n/a
Default Combining certain matrices

Can anyone think of a way to add certain matrices together, depending
on some matrix criteria?

Situation:

X Y Z
Bob A 2 3 1
Bob B 4 1 5
Bob C 3 2 6

X Y Z
Sue A 4 3 3
Sue B 4 1 5
Sue C 2 2 5

X Y Z
Bob A 2 3 1
Bob B 3 5 5
Bob C 5 2 1

X Y Z
Sue A 3 3 1
Sue B 4 1 2
Sue C 2 5 6

I want to combine all the matrices that belong to Bob, etc (ie. add all
A-X together, all B-X, etc). I'm not looking for an answer like, click
through and sum each manually!

Thanks

  #2   Report Post  
Domenic
 
Posts: n/a
Default

Try the following array formula that needs to be confirmed with
CONTROL+SHIFT+ENTER...

=SUM(IF(ISNUMBER($C$2:$E$19),($A$2:$A$19=G1)*($B$2 :$B$19=H1)*($C$1:$E$1=I
1)*($C$2:$E$19)))

....where G1 contains the name of interest, H1 contains either A, B, or
C, and I1 contains either X, Y, or Z.

Hope this helps!

In article .com,
wrote:

Can anyone think of a way to add certain matrices together, depending
on some matrix criteria?

Situation:

X Y Z
Bob A 2 3 1
Bob B 4 1 5
Bob C 3 2 6

X Y Z
Sue A 4 3 3
Sue B 4 1 5
Sue C 2 2 5

X Y Z
Bob A 2 3 1
Bob B 3 5 5
Bob C 5 2 1

X Y Z
Sue A 3 3 1
Sue B 4 1 2
Sue C 2 5 6

I want to combine all the matrices that belong to Bob, etc (ie. add all
A-X together, all B-X, etc). I'm not looking for an answer like, click
through and sum each manually!

Thanks

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
Combining Data bfarrellnc Excel Discussion (Misc queries) 1 December 29th 04 06:23 PM
Combining Font Types BillCPA Excel Discussion (Misc queries) 2 December 28th 04 06:43 PM
Combining workbooks RC Excel Discussion (Misc queries) 2 December 21st 04 10:15 AM
Combining Data on a pie chart Mark C Charts and Charting in Excel 3 December 17th 04 07:11 PM
Combining SUM Function with Nested If Statement Somecallmejosh Excel Discussion (Misc queries) 3 December 6th 04 04:25 PM


All times are GMT +1. The time now is 06:35 AM.

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

About Us

"It's about Microsoft Excel"