How do I find the 12 highest numbers in a row of 52 numbers

J

johnny

How do I find the 12 highest numbers in a row of 52 numbers, add them
together and enter the total in a particular cell?
 
K

KL

Hi johnny,

Something like this:

longer, but non-volatile
=SUMPRODUCT(LARGE(A1:AZ1,{1,2,3,4,5,6,7,8,9,10,11,12}))

shorter, but volatile
=SUMPRODUCT(LARGE(A1:AZ1,ROW(INDIRECT("1:12"))))

or if the numbers can't be repeated:
=SUMIF(A1:AZ1,">="&LARGE(A1:AZ1,12))

Regards,
KL
 
B

Biff

Hi!

Try one of these:

=SUM(LARGE(A1:AZ1,{1,2,3,4,5,6,7,8,9,10,11,12}))

Or, entered as an array using the key combination of CTRL,SHIFT,ENTER:

=SUM(LARGE(A1:AZ1,ROW(INDIRECT("1:12"))))

Biff
 
J

johnny

Thanks guys, helped a lot

Biff said:
Hi!

Try one of these:

=SUM(LARGE(A1:AZ1,{1,2,3,4,5,6,7,8,9,10,11,12}))

Or, entered as an array using the key combination of CTRL,SHIFT,ENTER:

=SUM(LARGE(A1:AZ1,ROW(INDIRECT("1:12"))))

Biff
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top