Below is a mock of some of the data I have and I am trying to find a function that will return me with
a) the value with largest sum
b) the value with the second largest sum.... etc.
and below that is a mock of the results I want to show.
Been beating my head against a wall here since I can't modify the display of the data given the size and nature of the use of the spreadsheet
I want to achieve this using only excel formulae and not VBA/pivot tables et. al.
Germany 0.910579
Germany 0.411447
France 0.23819
France 0.260851
France 0.239344
UK 0.46665
UK 0.335537
Spain 0.401024
------------
1 Germany
2 UK
3 France
4 Spain
I found this link that shows me how to pick out the find the item with the largest sum in a list and this works if the data is all in one continous column broken up by the values I have my in Column A
D4={INDEX($A$1:$A$12,MATCH(LARGE(MMULT(TRANSPOSE(ROW($A$1:$A$12)^0),IFERROR((LOOKUP(ROW($A$1:$A$12),1/ISERR(-$A$1:$A$12)*ROW($A$1:$A$12),$A$1:$A$12)=TRANSPOSE($A$1:$A$12))*$A$1:$A$12,0)),C4),MMULT(TRANSPOSE(ROW($A$1:$A$12)^0),IFERROR((LOOKUP(ROW($A$1:$A$12),1/ISERR(-$A$1:$A$12)*ROW($A$1:$A$12),$A$1:$A$12)=TRANSPOSE($A$1:$A$12))*$A$1:$A$12,0)),0))}
And this was also very similar to this solution I found on SO, but this didnt account for repeating values and suggested the use of pivot tables but I am limited to formulaic solutions only
Extracting the top 5 maximum values in excel
Thanks