Sum of 3 maximum numbers

  • Thread starter Thread starter Ruda
  • Start date Start date
R

Ruda

I have 12 cells with some numbers. How can I calculate the sum of the three
maximum numbers among them?
 
Something like:

=SUM(LARGE(A1:A12,{1,2,3}))


I have 12 cells with some numbers. How can I calculate the sum of the three
maximum numbers among them?
 
Just for fun

=IF(COUNT(A1:A12)=0,"",SUM(LARGE(A1:A12,ROW(INDIRECT("1:"&MIN(3,COUNT(A1:A12
)))))))

as an array formula, so commit with Ctrl-Shift-Enter.

This caters for less than 3 numbers, without an error

--

HTH

RP
(remove nothere from the email address if mailing direct)
 

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

Back
Top