sum top 18

jonty

Board Regular
Joined
Mar 31, 2002
Messages
54
Hopefully this is a quick one for some one.
I have a list of 25 numbers and i would like the sum the top 18 numbers in one cell. Is there a formula something like sumif etc which cud do this please.

Thanks a lot

Jonty
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
jonty
try =SUM(LARGE(A1:A50,{1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18})). adjust cell refs to suit.
 
Upvote 0
On 2002-04-01 19:28, jonty wrote:
Hopefully this is a quick one for some one.
I have a list of 25 numbers and i would like the sum the top 18 numbers in one cell. Is there a formula something like sumif etc which cud do this please.

Thanks a lot

Jonty

Hi Jonty,

WIth your data in A1:A25, try:

{ =SUM(LARGE(A1:A25,ROW(1:18))) }

This must be entered as an array formula with Ctrl+Shift+Enter rather than just Enter.

If array entered, Excel will place the braces {} around the formula you type.

You can also name a formula and place the above in the 'refers to' area. It does not have to be array entered if you use this method.

Regards,
Jay
This message was edited by Jay Petrulis on 2002-04-01 20:00
 
Upvote 0
Hi jonty


If you would like a more flexible solution just the the SUBTOTAL fumction on you data with Auto filters showing the top 18 (or whatever) This can be be found under Top Ten of the Auto filter.
 
Upvote 0

Forum statistics

Threads
1,214,520
Messages
6,120,016
Members
448,936
Latest member
almerpogi

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