Hi
I am trying to create a dashboard that gives me the top 5 (and bottom 5) on a number of key metrics. I have put an example table below, but I trying to create a result that will list in order 1-5.
Please assume Category is column A, Product is Column B, etc.
[TABLE="width: 231"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]Category[/TD]
[TD] Product[/TD]
[TD]Service[/TD]
[/TR]
[TR]
[TD]Toys[/TD]
[TD]Action man[/TD]
[TD]99.10%[/TD]
[/TR]
[TR]
[TD]Toys[/TD]
[TD]Barbie[/TD]
[TD]88.75%[/TD]
[/TR]
[TR]
[TD]Garden[/TD]
[TD]BBQ[/TD]
[TD]98.40%[/TD]
[/TR]
[TR]
[TD]Toys[/TD]
[TD]Beanie Bears[/TD]
[TD]98.54%[/TD]
[/TR]
[TR]
[TD]Garden[/TD]
[TD]Bench[/TD]
[TD]89.75%[/TD]
[/TR]
[TR]
[TD]Games[/TD]
[TD]Chess[/TD]
[TD]99.64%[/TD]
[/TR]
[TR]
[TD]Games[/TD]
[TD]Draughts[/TD]
[TD]99.89%[/TD]
[/TR]
[TR]
[TD]Garden[/TD]
[TD]Gas Cyclinder[/TD]
[TD]99.52%[/TD]
[/TR]
[TR]
[TD]Games[/TD]
[TD]Guess Who[/TD]
[TD]24.70%[/TD]
[/TR]
[TR]
[TD]Garden[/TD]
[TD]Lantern[/TD]
[TD]74.90%[/TD]
[/TR]
[TR]
[TD]Garden[/TD]
[TD]Lawn Mower[/TD]
[TD]94.50%[/TD]
[/TR]
[TR]
[TD]Toys[/TD]
[TD]Magic cards[/TD]
[TD]98.64%[/TD]
[/TR]
[TR]
[TD]Games[/TD]
[TD]Monopoly[/TD]
[TD]84.70%[/TD]
[/TR]
[TR]
[TD]Toys[/TD]
[TD]Pokemon[/TD]
[TD]100.00%[/TD]
[/TR]
[TR]
[TD]Tools[/TD]
[TD]Screwdriver[/TD]
[TD]99.00%[/TD]
[/TR]
[TR]
[TD]Garden[/TD]
[TD]Shed[/TD]
[TD]98.50%[/TD]
[/TR]
[TR]
[TD]Tools[/TD]
[TD]Spanner[/TD]
[TD]98.80%[/TD]
[/TR]
[TR]
[TD]Games[/TD]
[TD]Subbeteo[/TD]
[TD]65.46%[/TD]
[/TR]
[TR]
[TD]Toys[/TD]
[TD]Sylvanian Family[/TD]
[TD]99.25%[/TD]
[/TR]
[TR]
[TD]Toys[/TD]
[TD]Top Trumps[/TD]
[TD]93.67%[/TD]
[/TR]
[TR]
[TD]Games[/TD]
[TD]Trivial Pursuit[/TD]
[TD]92.50%[/TD]
[/TR]
</tbody>[/TABLE]
How could I get the following result? If every time I typed in Toys in the cell adjacent to the Category call below, so it would list the below?
[TABLE="width: 231"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]Category[/TD]
[TD]Toys[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Sylvanian Family[/TD]
[TD]99.25%[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Action man[/TD]
[TD]99.10%[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Magic cards[/TD]
[TD]98.64%[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Beanie Bears[/TD]
[TD]98.54%[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]Top Trumps[/TD]
[TD]93.67%[/TD]
[/TR]
</tbody>[/TABLE]
Many Thanks in advance!!!
I am trying to create a dashboard that gives me the top 5 (and bottom 5) on a number of key metrics. I have put an example table below, but I trying to create a result that will list in order 1-5.
Please assume Category is column A, Product is Column B, etc.
[TABLE="width: 231"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]Category[/TD]
[TD] Product[/TD]
[TD]Service[/TD]
[/TR]
[TR]
[TD]Toys[/TD]
[TD]Action man[/TD]
[TD]99.10%[/TD]
[/TR]
[TR]
[TD]Toys[/TD]
[TD]Barbie[/TD]
[TD]88.75%[/TD]
[/TR]
[TR]
[TD]Garden[/TD]
[TD]BBQ[/TD]
[TD]98.40%[/TD]
[/TR]
[TR]
[TD]Toys[/TD]
[TD]Beanie Bears[/TD]
[TD]98.54%[/TD]
[/TR]
[TR]
[TD]Garden[/TD]
[TD]Bench[/TD]
[TD]89.75%[/TD]
[/TR]
[TR]
[TD]Games[/TD]
[TD]Chess[/TD]
[TD]99.64%[/TD]
[/TR]
[TR]
[TD]Games[/TD]
[TD]Draughts[/TD]
[TD]99.89%[/TD]
[/TR]
[TR]
[TD]Garden[/TD]
[TD]Gas Cyclinder[/TD]
[TD]99.52%[/TD]
[/TR]
[TR]
[TD]Games[/TD]
[TD]Guess Who[/TD]
[TD]24.70%[/TD]
[/TR]
[TR]
[TD]Garden[/TD]
[TD]Lantern[/TD]
[TD]74.90%[/TD]
[/TR]
[TR]
[TD]Garden[/TD]
[TD]Lawn Mower[/TD]
[TD]94.50%[/TD]
[/TR]
[TR]
[TD]Toys[/TD]
[TD]Magic cards[/TD]
[TD]98.64%[/TD]
[/TR]
[TR]
[TD]Games[/TD]
[TD]Monopoly[/TD]
[TD]84.70%[/TD]
[/TR]
[TR]
[TD]Toys[/TD]
[TD]Pokemon[/TD]
[TD]100.00%[/TD]
[/TR]
[TR]
[TD]Tools[/TD]
[TD]Screwdriver[/TD]
[TD]99.00%[/TD]
[/TR]
[TR]
[TD]Garden[/TD]
[TD]Shed[/TD]
[TD]98.50%[/TD]
[/TR]
[TR]
[TD]Tools[/TD]
[TD]Spanner[/TD]
[TD]98.80%[/TD]
[/TR]
[TR]
[TD]Games[/TD]
[TD]Subbeteo[/TD]
[TD]65.46%[/TD]
[/TR]
[TR]
[TD]Toys[/TD]
[TD]Sylvanian Family[/TD]
[TD]99.25%[/TD]
[/TR]
[TR]
[TD]Toys[/TD]
[TD]Top Trumps[/TD]
[TD]93.67%[/TD]
[/TR]
[TR]
[TD]Games[/TD]
[TD]Trivial Pursuit[/TD]
[TD]92.50%[/TD]
[/TR]
</tbody>[/TABLE]
How could I get the following result? If every time I typed in Toys in the cell adjacent to the Category call below, so it would list the below?
[TABLE="width: 231"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]Category[/TD]
[TD]Toys[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Sylvanian Family[/TD]
[TD]99.25%[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Action man[/TD]
[TD]99.10%[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Magic cards[/TD]
[TD]98.64%[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Beanie Bears[/TD]
[TD]98.54%[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]Top Trumps[/TD]
[TD]93.67%[/TD]
[/TR]
</tbody>[/TABLE]
Many Thanks in advance!!!