So I have a large list of data that contains multiple categories. I am wanting it to automatically pull from highest to lowest based off criteria in another cell. If I wanted to see the highest for KY for Division 10 then the second highest. I would also want to pull more than just the amounts so I figure knowing the row number is the best way.
[TABLE="width: 215"]
<colgroup><col><col span="2"></colgroup><tbody>[TR]
[TD]Amount[/TD]
[TD]Division[/TD]
[TD]State[/TD]
[/TR]
[TR]
[TD] $ 100.00[/TD]
[TD="align: right"]10[/TD]
[TD]KY[/TD]
[/TR]
[TR]
[TD] $ 150.00[/TD]
[TD="align: right"]10[/TD]
[TD]KY[/TD]
[/TR]
[TR]
[TD] $ 175.00[/TD]
[TD="align: right"]15[/TD]
[TD]KY[/TD]
[/TR]
[TR]
[TD] $ 130.00[/TD]
[TD="align: right"]20[/TD]
[TD]TN[/TD]
[/TR]
[TR]
[TD] $ 180.00[/TD]
[TD="align: right"]22[/TD]
[TD]TN[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 215"]
<colgroup><col><col span="2"></colgroup><tbody>[TR]
[TD]Amount[/TD]
[TD]Division[/TD]
[TD]State[/TD]
[/TR]
[TR]
[TD] $ 100.00[/TD]
[TD="align: right"]10[/TD]
[TD]KY[/TD]
[/TR]
[TR]
[TD] $ 150.00[/TD]
[TD="align: right"]10[/TD]
[TD]KY[/TD]
[/TR]
[TR]
[TD] $ 175.00[/TD]
[TD="align: right"]15[/TD]
[TD]KY[/TD]
[/TR]
[TR]
[TD] $ 130.00[/TD]
[TD="align: right"]20[/TD]
[TD]TN[/TD]
[/TR]
[TR]
[TD] $ 180.00[/TD]
[TD="align: right"]22[/TD]
[TD]TN[/TD]
[/TR]
</tbody>[/TABLE]