I'm trying to create a formula that will rank and count responses to survey data that will summarize the top 5 in the format below. The data will be structured similar to the table below with new responses being added to the bottom of the table continually. For this example, the data is in B2:B12.
Any suggestions on a formula that will count and rank the data as new responses are added? I'm also trying to show the results as Item (#)...for example Apple (4), Orange (3), etc. as they are ranked. See the bottom of the table below.
In the event of tie, (Pear and Plum) below they would both need to be shown.
Thanks in advance for any help / suggestions.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]Favorite Food
[/TD]
[/TR]
[TR]
[TD]Row 2[/TD]
[TD]Apple[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Apple[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Apple[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Apple[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Orange[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Orange
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Orange[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Strawberry[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Strawberry[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Pear[/TD]
[/TR]
[TR]
[TD]Row 12[/TD]
[TD]Plum[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Rank[/TD]
[TD]Count[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Apple (4)[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Orange (3)[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Strawberry (2)[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Pear (1)[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]Plum (1)[/TD]
[/TR]
</tbody>[/TABLE]
Any suggestions on a formula that will count and rank the data as new responses are added? I'm also trying to show the results as Item (#)...for example Apple (4), Orange (3), etc. as they are ranked. See the bottom of the table below.
In the event of tie, (Pear and Plum) below they would both need to be shown.
Thanks in advance for any help / suggestions.
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]Favorite Food
[/TD]
[/TR]
[TR]
[TD]Row 2[/TD]
[TD]Apple[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Apple[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Apple[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Apple[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Orange[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Orange
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Orange[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Strawberry[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Strawberry[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Pear[/TD]
[/TR]
[TR]
[TD]Row 12[/TD]
[TD]Plum[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Rank[/TD]
[TD]Count[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Apple (4)[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Orange (3)[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Strawberry (2)[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Pear (1)[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]Plum (1)[/TD]
[/TR]
</tbody>[/TABLE]