#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 55
Default Add top numbers

How do you add the top 20 numbers from a list of 500 numbers in a row?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 169
Default Add top numbers

=SUMPRODUCT(--(RANK(list_of_values,list_of_values,0)<=20),list_o f_values)
--
Tips for Excel, Word, PowerPoint and Other Applications
http://www.kan.org/tips


"Frustrated" wrote:

How do you add the top 20 numbers from a list of 500 numbers in a row?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,358
Default Add top numbers

This formula will break if the 20th largest value has duplicates.
Try instead:
=SUMIF(List,""&LARGE(List,LgList),List)+(LgList-COUNTIF(List,""&LARGE(List,LgList)))*LARGE(List,L gList)

where List is the range of numbers, and LgList is, in this case, 20.


--
John C


"M Kan" wrote:

=SUMPRODUCT(--(RANK(list_of_values,list_of_values,0)<=20),list_o f_values)
--
Tips for Excel, Word, PowerPoint and Other Applications
http://www.kan.org/tips


"Frustrated" wrote:

How do you add the top 20 numbers from a list of 500 numbers in a row?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,572
Default Add top numbers

Try this:

=SUM(INDEX(LARGE(A1:A500,ROW(1:20)),0))

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Frustrated" wrote in message
...
How do you add the top 20 numbers from a list of 500 numbers in a row?



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,358
Default Add top numbers

nice!
--
John C


"RagDyer" wrote:

Try this:

=SUM(INDEX(LARGE(A1:A500,ROW(1:20)),0))

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Frustrated" wrote in message
...
How do you add the top 20 numbers from a list of 500 numbers in a row?




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
Excel Formula - Add column of numbers but ignore negative numbers view for Distribution List members Excel Worksheet Functions 1 April 7th 06 03:13 AM
Help! How do you get excel to find the x(changes daily, marked in a cell from another formula) highest numbers in a group of numbers and sum them up? C-Man23 Excel Worksheet Functions 3 January 19th 06 09:52 AM
Help! How do you get excel to find the x(changes daily, marked in a cell from another formula) highest numbers in a group of numbers and sum them up? C-Man23 Excel Worksheet Functions 1 January 9th 06 01:23 PM
to find missing serial numbers in randomly generated numbers B.H. Hadi Excel Worksheet Functions 2 December 1st 05 10:56 PM
Count comma separated numbers, numbers in a range with dash, not t Mahendra Excel Discussion (Misc queries) 0 August 8th 05 05:56 PM


All times are GMT +1. The time now is 02:09 PM.

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

About Us

"It's about Microsoft Excel"