R
Rachel
Hi!
I received help with worksheet formula from this
newsgroup, and the formula is quite complicated (for me).
I need help troubleshooting - it is not working quite
right...
The formula is supposed to look at a number of columns
(50) and rows (100) on one sheet, and return the 6 non-
zero values in a row, in order - on another sheet. It
works!!! - but they are not in order.
For example, row1 has
0,0,0,0,0,4,0,0,44,0,27,0,0,0,44,0,24,0,0,0,0,38,0,0,0...
(there are only 6 non-zero values in each row)
The formula that I was given: {=INDEX('Sheet1'!
$A2:$BB2,LARGE(MATCH(IF('Sheet1'!$A2:$BB2<>0,'Sheet1'!
$A2:$BB2),IF('Sheet1'!$A2:$BB2<>0,'Sheet1'!$A2:$BB2),0),
6 -(COLUMN()-COLUMN($B2))))} - (I copy this down for other
rows)
returns: 4,44,44,27,24,38
So, it works but they are not in proper order. The 3rd
value (44) should be 27, and the 4th value (27) should be
44.
Any ideas or quick fixes to the formula???
Thank you so much, if you get a chance...
Rachel
I received help with worksheet formula from this
newsgroup, and the formula is quite complicated (for me).
I need help troubleshooting - it is not working quite
right...
The formula is supposed to look at a number of columns
(50) and rows (100) on one sheet, and return the 6 non-
zero values in a row, in order - on another sheet. It
works!!! - but they are not in order.
For example, row1 has
0,0,0,0,0,4,0,0,44,0,27,0,0,0,44,0,24,0,0,0,0,38,0,0,0...
(there are only 6 non-zero values in each row)
The formula that I was given: {=INDEX('Sheet1'!
$A2:$BB2,LARGE(MATCH(IF('Sheet1'!$A2:$BB2<>0,'Sheet1'!
$A2:$BB2),IF('Sheet1'!$A2:$BB2<>0,'Sheet1'!$A2:$BB2),0),
6 -(COLUMN()-COLUMN($B2))))} - (I copy this down for other
rows)
returns: 4,44,44,27,24,38
So, it works but they are not in proper order. The 3rd
value (44) should be 27, and the 4th value (27) should be
44.
Any ideas or quick fixes to the formula???
Thank you so much, if you get a chance...
Rachel