Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]()
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
![]() |
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Combining Data | Excel Discussion (Misc queries) | |||
Combining Font Types | Excel Discussion (Misc queries) | |||
Combining workbooks | Excel Discussion (Misc queries) | |||
Combining Data on a pie chart | Charts and Charting in Excel | |||
Combining SUM Function with Nested If Statement | Excel Discussion (Misc queries) |