Top 5 Largest Amounts - Multiple Variables

s1specken

New Member
Joined
Sep 18, 2013
Messages
4
I'm having trouble figuring out how to pull together a top 5/bottom 5 list, given the way the data is provided. The source data is pulled from an existing macro, which I dare not alter, so that is unavoidable. Basically, I am trying to pull the names (column A) and sale amounts (column B), into a table to show the top 5 largest amounts. My problem is that there are names with multiple rows of data. For example "Company A" has 3 different rows of sale amounts (20,30,40), which would give them a total of 90 for sale amounts. I want that total to be taken into account when ordering the top 5, rather than each row individually. Is there a way to do this without first creating a seperate table that sums the data?
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.

Forum statistics

Threads
1,223,239
Messages
6,170,947
Members
452,368
Latest member
jayp2104

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