I have a large set of data. Entries are put into categories (e.g. 1 and 2 in table below) and what I am looking to do is to rank entries according to their sales within the category.
An illustrative example below, but my dataset is quite a bit more complicated not additional sorting etc can be done.
Thanks for your help!
<tbody>
</tbody>
An illustrative example below, but my dataset is quite a bit more complicated not additional sorting etc can be done.
Thanks for your help!
A | B | C | |
1 | Category | Sales | Rank |
2 | 1 | 105,000 | |
3 | 1 | 489,391 | |
4 | 1 | 419,478 | |
5 | 2 | 254,024 | |
6 | 2 | 190,338 | |
7 | 2 | 11,836 | |
8 | 1 | 838,957 | |
9 | 1 | 254,024 | |
10 | 2 | 111,964 | |
11 | 2 | 7,500 | |
12 | 2 | 838,957 | |
13 | 1 | 559,304 | |
14 | 1 | 635,060 | |
15 | 1 | 307,069 | |
16 | 2 | 36,848 | |
17 | 2 | 49,184 | |
18 | 1 | 1,398,261 | |
19 | 1 | 444,542 | |
20 | 2 | 447,855 | |
21 | 2 | 33,589 | |
22 | 1 | 3,076,175 |
<tbody>
</tbody>