so I'm trying to sum by ticker and rank largest to smallest (not sure how to do it with same ticker for different lots/amounts)

speckledtrout

New Member
Joined
Dec 11, 2017
Messages
1
I have data in two columns such as:

AA 50
AA 30
bb 19
XX 20
XX 10

I'm trying to sum by column A inputs and rank highest to lowest by the summed numbers using column B values
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Hi,

One way :-

Ctrl+Shift+Enter NOT just Enter

D2 =IFERROR(LARGE(--(FREQUENCY((SUMIF($A$2:$A$6,$A$2:$A$6,$B$2:$B$6)),(SUMIF($A$2:$A$6,$A$2:$A$6,$B$2:$B$6))) < 2)*SUMIF($A$2:$A$7,$A$2:$A$7,$B$2:$B$7),ROWS(D$1:D1)),"")

[TABLE="width: 359"]
<colgroup><col><col><col span="2"><col></colgroup><tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Text[/TD]
[TD]Numbers[/TD]
[TD][/TD]
[TD]Total Per Text[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]AA[/TD]
[TD]50[/TD]
[TD][/TD]
[TD]80[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]AA[/TD]
[TD]30[/TD]
[TD][/TD]
[TD]30[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]BB[/TD]
[TD]19[/TD]
[TD][/TD]
[TD]19[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]XX[/TD]
[TD]20[/TD]
[TD][/TD]
[TD]0[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]XX[/TD]
[TD]10[/TD]
[TD][/TD]
[TD]0[/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0

Forum statistics

Threads
1,226,112
Messages
6,189,039
Members
453,520
Latest member
packrat68

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