J
John Michl
I need to calculate the max of range but only for values in a row that has a
cell with a certain value. The sample below is limited. They actual matrix
is a 200 x 200 matrix.
Col. A Col.B
1 50%
1 25%
0 100%
0 10%
1 75%
1 = True, 0 = False so sumproduct (Col A, Col B)/sum(Col A) gives the
average of all values in Col B where Col A = 1. What could I do to
calculate the Max and Min? In this example, the Max would be 75% (not 100%
since Col A = False for the 100%).
Thanks for the help.
- John
cell with a certain value. The sample below is limited. They actual matrix
is a 200 x 200 matrix.
Col. A Col.B
1 50%
1 25%
0 100%
0 10%
1 75%
1 = True, 0 = False so sumproduct (Col A, Col B)/sum(Col A) gives the
average of all values in Col B where Col A = 1. What could I do to
calculate the Max and Min? In this example, the Max would be 75% (not 100%
since Col A = False for the 100%).
Thanks for the help.
- John