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

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
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,224,823
Messages
6,181,178
Members
453,021
Latest member
Justyna P

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