Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Adding more than one maximum

Is there a way of taking a list of five numbers and adding together only the
highest 3 (ignoring or dropping the two lowest marks)? E.g. if the numbers
were 2,5,7,4,5, the numbers 5,7,5 would be added, 2 and 4 being ignored.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Adding more than one maximum

One way:
In say, B1: =SUMPRODUCT(LARGE(A1:A5,ROW(1:3)))
where source data is in A1:A5
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"stevengepp" wrote:
Is there a way of taking a list of five numbers and adding together only the
highest 3 (ignoring or dropping the two lowest marks)? E.g. if the numbers
were 2,5,7,4,5, the numbers 5,7,5 would be added, 2 and 4 being ignored.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Adding more than one maximum

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


"stevengepp" wrote:

Is there a way of taking a list of five numbers and adding together only the
highest 3 (ignoring or dropping the two lowest marks)? E.g. if the numbers
were 2,5,7,4,5, the numbers 5,7,5 would be added, 2 and 4 being ignored.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Adding more than one maximum

Thanks a lot; this worked really well across several multi-linked spreadsheets.

"Teethless mama" wrote:

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


"stevengepp" wrote:

Is there a way of taking a list of five numbers and adding together only the
highest 3 (ignoring or dropping the two lowest marks)? E.g. if the numbers
were 2,5,7,4,5, the numbers 5,7,5 would be added, 2 and 4 being ignored.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Adding more than one maximum

Thanks. This worked well.

"Max" wrote:

One way:
In say, B1: =SUMPRODUCT(LARGE(A1:A5,ROW(1:3)))
where source data is in A1:A5
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"stevengepp" wrote:
Is there a way of taking a list of five numbers and adding together only the
highest 3 (ignoring or dropping the two lowest marks)? E.g. if the numbers
were 2,5,7,4,5, the numbers 5,7,5 would be added, 2 and 4 being ignored.



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Adding more than one maximum

Welcome
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"stevengepp" wrote in message
...
Thanks. This worked well.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
maximum Dale Excel Worksheet Functions 1 April 12th 07 10:16 PM
Maximum Louisq Excel Worksheet Functions 1 February 13th 07 03:36 PM
Maximum If Help RFJ Excel Worksheet Functions 1 August 19th 05 02:37 PM
MAXIMUM VALUE Carolan Excel Worksheet Functions 2 June 14th 05 06:05 PM
Specify Maximum Value jcliquidtension Excel Discussion (Misc queries) 2 February 23rd 05 08:43 PM


All times are GMT +1. The time now is 08:42 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"