Sum Top 5 figures

Cozart

New Member
Joined
Jul 18, 2007
Messages
3
I need to create a formula against a row of figures that will sum only the top 5 subtotals of that given row. The row contains 8 subtotals in which I only need to sum the highest 5 figures not including the detail columns that add to a given subtotal. The 8 subtotals may have some identical figures as one or more subtotal figures that make up the top/highest five subtotals.

Can you recommend a formula that will only include the subtotal columns and sum the top 5 figures and if the 5th highest figure is also the 6th highest figure to ignore one of those in the Top 5.

Thank you,
Cozart
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
Try...

=SUM(LARGE(Range,{1,2,3,4,5}))

Hope this helps!
 
Upvote 0
The formula you need is:

=SUM(LARGE(A8:P8,1),LARGE(A8:P8,2),LARGE(A8:P8,3),LARGE(A8:P8,4),LARGE(A8:P8,5))

Where A8:P8 is you row but this will only work if you have only got your subtotals in the row
 
Upvote 0
Top 5

I appreciate the input. It appears the only method in which to do this is to link to a seperate worksheet which includes the subtotals only and not the incremental detail adding up to the subtotals as some of the incremental figures will be greater than some of the subtotals.

Thanks for the LARGE formula.

Cozart
 
Upvote 0
Re: Top 5

It appears the only method in which to do this is to link to a seperate worksheet which includes the subtotals only and not the incremental detail adding up to the subtotals as some of the incremental figures will be greater than some of the subtotals.

It's probably the most efficient way. However, if you'd prefer not to go this route, try posting a small sample of the data along with the expected result.
 
Upvote 0

Forum statistics

Threads
1,215,734
Messages
6,126,542
Members
449,316
Latest member
sravya

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