I have a column of data containing 24 rows. Rows 1-12 always contain positive numbers. Rows 13-24 can contain a positive number or are blank. All the blanks are at the bottom of the column, i.e., there are no blanks above a positive number. I would like to to obtain the last 12 positive values in the column, but I am stumped as to how to do it. An example of the data is as follows:
<style type="text/css"><!--td {border: 1px solid #ccc;}br {mso-data-placement:same-cell;}--></style>[TABLE="width: 0"]
<colgroup><col style="width: 100px"></colgroup><tbody>[TR]
[TD="align: right"]4.10[/TD]
[/TR]
[TR]
[TD="align: right"]4.10[/TD]
[/TR]
[TR]
[TD="align: right"]4.00[/TD]
[/TR]
[TR]
[TD="align: right"]3.90[/TD]
[/TR]
[TR]
[TD="align: right"]3.80[/TD]
[/TR]
[TR]
[TD="align: right"]4.00[/TD]
[/TR]
[TR]
[TD="align: right"]3.90[/TD]
[/TR]
[TR]
[TD="align: right"]3.80[/TD]
[/TR]
[TR]
[TD="align: right"]3.70[/TD]
[/TR]
[TR]
[TD="align: right"]3.80[/TD]
[/TR]
[TR]
[TD="align: right"]3.70[/TD]
[/TR]
[TR]
[TD="align: right"]3.90[/TD]
[/TR]
[TR]
[TD="align: right"]4.00[/TD]
[/TR]
[TR]
[TD="align: right"]3.80[/TD]
[/TR]
[TR]
[TD="align: right"]3.80[/TD]
[/TR]
[TR]
[TD="align: right"]3.60[/TD]
[/TR]
[TR]
[TD="align: right"]3.60[/TD]
[/TR]
[TR]
[TD="align: right"]3.70[/TD]
[/TR]
[TR]
[TD="align: right"]3.70[/TD]
[/TR]
[TR]
[TD="align: right"]3.70[/TD]
[/TR]
[TR]
[TD="align: right"]3.50[/TD]
[/TR]
[TR]
[TD="align: right"]3.60[/TD]
[/TR]
[TR]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Thanks for any help. This is the last step to complete my project and it really has me scratching my head.
<style type="text/css"><!--td {border: 1px solid #ccc;}br {mso-data-placement:same-cell;}--></style>[TABLE="width: 0"]
<colgroup><col style="width: 100px"></colgroup><tbody>[TR]
[TD="align: right"]4.10[/TD]
[/TR]
[TR]
[TD="align: right"]4.10[/TD]
[/TR]
[TR]
[TD="align: right"]4.00[/TD]
[/TR]
[TR]
[TD="align: right"]3.90[/TD]
[/TR]
[TR]
[TD="align: right"]3.80[/TD]
[/TR]
[TR]
[TD="align: right"]4.00[/TD]
[/TR]
[TR]
[TD="align: right"]3.90[/TD]
[/TR]
[TR]
[TD="align: right"]3.80[/TD]
[/TR]
[TR]
[TD="align: right"]3.70[/TD]
[/TR]
[TR]
[TD="align: right"]3.80[/TD]
[/TR]
[TR]
[TD="align: right"]3.70[/TD]
[/TR]
[TR]
[TD="align: right"]3.90[/TD]
[/TR]
[TR]
[TD="align: right"]4.00[/TD]
[/TR]
[TR]
[TD="align: right"]3.80[/TD]
[/TR]
[TR]
[TD="align: right"]3.80[/TD]
[/TR]
[TR]
[TD="align: right"]3.60[/TD]
[/TR]
[TR]
[TD="align: right"]3.60[/TD]
[/TR]
[TR]
[TD="align: right"]3.70[/TD]
[/TR]
[TR]
[TD="align: right"]3.70[/TD]
[/TR]
[TR]
[TD="align: right"]3.70[/TD]
[/TR]
[TR]
[TD="align: right"]3.50[/TD]
[/TR]
[TR]
[TD="align: right"]3.60[/TD]
[/TR]
[TR]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Thanks for any help. This is the last step to complete my project and it really has me scratching my head.