ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Sum of Max cells in a range (https://www.excelbanter.com/excel-discussion-misc-queries/14687-sum-max-cells-range.html)

Merrick

Sum of Max cells in a range
 
Any way to find out the sum of the three greatest values out of a range of 20
cells all in the same row? I'm going crazy...

Peo Sjoblom

One way

=SUMPRODUCT(LARGE(A4:T4,ROW(INDIRECT("1:3"))))

--

Regards,

Peo Sjoblom



"Merrick" wrote in message
...
Any way to find out the sum of the three greatest values out of a range of

20
cells all in the same row? I'm going crazy...




Domenic

Try the following...

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

Hope this helps!

In article ,
"Merrick" wrote:

Any way to find out the sum of the three greatest values out of a range of 20
cells all in the same row? I'm going crazy...



All times are GMT +1. The time now is 05:58 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com