ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Adding the max 8 values in a list (https://www.excelbanter.com/excel-discussion-misc-queries/182343-adding-max-8-values-list.html)

Ken Guest

Adding the max 8 values in a list
 
Hi there
I have a list of numbers that can be 80 numbers long in any order (they
could consist of only 1's, 2's or 3's). I need to add the highest 8 numbers
together. Is there a simple way to do this??
eg

1 1 0 1 2 2 0 3 3 0 3 3 3

Now I need it to give me a total of 20 (all the 3's, 2's and one 1)

Gary''s Student

Adding the max 8 values in a list
 
=SUM(LARGE(A1:M1,{1,2,3,4,5,6,7,8}))


--
Gary''s Student - gsnu200777

Ken Guest

Adding the max 8 values in a list
 
THANKS----Seems to be working exactly as I want it.

"Gary''s Student" wrote:

=SUM(LARGE(A1:M1,{1,2,3,4,5,6,7,8}))


--
Gary''s Student - gsnu200777


Gary''s Student

Adding the max 8 values in a list
 
If you have any problems using or adapting the formula, update this post..
--
Gary''s Student - gsnu200777


"Ken Guest" wrote:

THANKS----Seems to be working exactly as I want it.

"Gary''s Student" wrote:

=SUM(LARGE(A1:M1,{1,2,3,4,5,6,7,8}))


--
Gary''s Student - gsnu200777



All times are GMT +1. The time now is 06:04 AM.

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