Creating a table which shows top ranked stores by product

SirRobin85

New Member
Joined
Oct 13, 2017
Messages
1
Hello everyone,

I already tried different combinations of Large(row)) or Max functions, but I just can't get it work.
I am happy with whatever I get; the whole solution doesn't have to fit in a formula in one single cell. If I have to create a helper table, I am fine with that.

What I have is data output in following format

Sales information

[TABLE="width: 1000"]
<tbody>[TR]
[TD]store location[/TD]
[TD]Created on[/TD]
[TD]Quantity[/TD]
[TD]Article Number[/TD]
[/TR]
[TR]
[TD]1002[/TD]
[TD]10/09/2017[/TD]
[TD]3[/TD]
[TD]10734567[/TD]
[/TR]
[TR]
[TD]1002[/TD]
[TD]10/10/2017[/TD]
[TD]4[/TD]
[TD]10734567[/TD]
[/TR]
[TR]
[TD]1002[/TD]
[TD]10/10/2017[/TD]
[TD]5[/TD]
[TD]10322678[/TD]
[/TR]
[TR]
[TD]4002[/TD]
[TD]10/11/2017[/TD]
[TD]4[/TD]
[TD]10322678[/TD]
[/TR]
[TR]
[TD]4002[/TD]
[TD]10/11/2017[/TD]
[TD]10[/TD]
[TD]10322678[/TD]
[/TR]
</tbody>[/TABLE]

As you see, each row indicates a transaction a store

What I want is following:

[TABLE="width: 500"]
<tbody>[TR]
[TD]Article Number[/TD]
[TD]Ranking[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][Input][/TD]
[TD]Top Store Rank 1[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Top Store Rank 2[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Top Store Rank 3[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Top Store Rank 4[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Top Store Rank 5[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

As you see, the number of rows for doesn't change and that overview table is in a separate spreadsheet. I am not only struggling to rank it, but also to sum it up for a given article and then return the store with the highest quantities sold in the field [Top Store Rank 1], the following store in [Top Store Rank 2],.....

I am also wondering how I would deal with stores which sold the same amount; i.e. if there are 6 stores which have sold each in total.


Thank you very much for your help!
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.

Forum statistics

Threads
1,224,824
Messages
6,181,187
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top