Sum top 10 unique values

momoua

New Member
Joined
Feb 27, 2018
Messages
3
Hi, i'm trying to sum the top 5 entities that distributed in a particular month. However, if an entity distributed more than once in a month then sum the amounts that entity distributed in that month so it is only counted as one entity instead of 2. E.g. if I am doing my report for June 2016, what is the sum of the top 5 entities that distributed in June. Answer = 710. But can i please have an excel formula so i don't have to do this manually each month? Thanks so much!
[TABLE="width: 500"]
<tbody>[TR]
[TD]Date[/TD]
[TD]Entity[/TD]
[TD]Amount[/TD]
[/TR]
[TR]
[TD]1/5/16[/TD]
[TD]E-123[/TD]
[TD]100[/TD]
[/TR]
[TR]
[TD]5/6/16[/TD]
[TD]E-102[/TD]
[TD]200[/TD]
[/TR]
[TR]
[TD]6/6/16[/TD]
[TD]E-102[/TD]
[TD]300[/TD]
[/TR]
[TR]
[TD]7/6/16[/TD]
[TD]E-101[/TD]
[TD]100
[/TD]
[/TR]
[TR]
[TD]10/6/16[/TD]
[TD]E-105[/TD]
[TD]60[/TD]
[/TR]
[TR]
[TD]12/6/16[/TD]
[TD]E-100[/TD]
[TD]20[/TD]
[/TR]
[TR]
[TD]14/6/16[/TD]
[TD]E-120[/TD]
[TD]30[/TD]
[/TR]
[TR]
[TD]15/6/16[/TD]
[TD]E-103[/TD]
[TD]10[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
A PivotTable would make quick work of this task, I think. Do you know how to use PTs?
 
Upvote 0
I agree, but is it possible to have a formula outside the pivot table to sum the top 10 values for the month (ensuring that duplicate entities are counted as one)?
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
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