S
Steve
I have the following in a spreadsheet:
A B C D E F G H
row 1 1.1 1 76 71 #N/A 71 5
row 2 1.2 1 124 117 #N/A 117 7
row 3 1.3 1 156 159 159 159 3
row 4 2.1 2 12 5 #N/A 5 7
row 5 2.2 2 54 59 59 59 5
row 6 3.1 3 41 45 45 45 4
row 7 3.2 3 252 310 310 310 5
row 8 3.3 3 305 438 310 310 5
row 9 3.4 3 422 438 438 3
row 10 3.5 3 441 #N/A 438 3
row 11 4.1 4 33 35 35 35 2
row 12 4.2 4 107 111 111 111 4
row 13 4.3 4 180 175 #N/A 175 5
row 14 5.1 5 227 230 230 230 3
My array formula in column H is as follows:
={SMALL(($C$1:$C$14=C1)*ABS(G1-($D$1:$D$14)),COUNTA($C$1:$C$14)-
COUNTIF($C$1:$C$14,C1)+1)}
I guess I'm not sure why the information in column H wouldn't come out
to be {5,41,83,0,0,0,0,0,0,0,0,0,0,0} when the first part of the array
is multiplied out... Wouldn't the array product for the last 11 rows
be zero since $C$1:$C$14=C1 is FALSE for these rows? I'm quite sure
I'm missing something here, but not sure as to exactly what it is.....
Please advise,
Steve
A B C D E F G H
row 1 1.1 1 76 71 #N/A 71 5
row 2 1.2 1 124 117 #N/A 117 7
row 3 1.3 1 156 159 159 159 3
row 4 2.1 2 12 5 #N/A 5 7
row 5 2.2 2 54 59 59 59 5
row 6 3.1 3 41 45 45 45 4
row 7 3.2 3 252 310 310 310 5
row 8 3.3 3 305 438 310 310 5
row 9 3.4 3 422 438 438 3
row 10 3.5 3 441 #N/A 438 3
row 11 4.1 4 33 35 35 35 2
row 12 4.2 4 107 111 111 111 4
row 13 4.3 4 180 175 #N/A 175 5
row 14 5.1 5 227 230 230 230 3
My array formula in column H is as follows:
={SMALL(($C$1:$C$14=C1)*ABS(G1-($D$1:$D$14)),COUNTA($C$1:$C$14)-
COUNTIF($C$1:$C$14,C1)+1)}
I guess I'm not sure why the information in column H wouldn't come out
to be {5,41,83,0,0,0,0,0,0,0,0,0,0,0} when the first part of the array
is multiplied out... Wouldn't the array product for the last 11 rows
be zero since $C$1:$C$14=C1 is FALSE for these rows? I'm quite sure
I'm missing something here, but not sure as to exactly what it is.....
Please advise,
Steve