Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 28
Default Selecting Max 20 Numbers

Hi Experts !!!


I need to select some top 20 numbers out of some thousand from a particular
column only. Can somebody please help me to give a hint for the code.

Thanks a Lot !!!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,501
Default Selecting Max 20 Numbers

Hi,

You probably won't have to select these numbers to work on them, what do you
want to do with the largest 20 numbers?

Mike

"Irfan Khan" wrote:

Hi Experts !!!


I need to select some top 20 numbers out of some thousand from a particular
column only. Can somebody please help me to give a hint for the code.

Thanks a Lot !!!

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 468
Default Selecting Max 20 Numbers

=LARGE(A:A,ROW(1:1))
and Copy down 19 rows.

"Irfan Khan" wrote:

Hi Experts !!!


I need to select some top 20 numbers out of some thousand from a particular
column only. Can somebody please help me to give a hint for the code.

Thanks a Lot !!!

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 143
Default Selecting Max 20 Numbers

How are you defining 'top 20'? If you have a list of values where you can
rank them, you can apply a rank function:
=RANK(A1,$A$1:$A$5000), where A1 is the value to be ranked and $A$1:$A$5000
is the range that holds all of the values. This will give a numeric rank for
the values. Copy the formula down the range of values. Once you have that,
just sort descending on the column and the top 20 come to the top.

To Mike's point, what you want to do with these is important. If it is just
to know the top 20 by some criteria, like total dollars or total units sold,
then the rank should work. If you want to do something else, write back with
more details.

PJ



"Irfan Khan" wrote:

Hi Experts !!!


I need to select some top 20 numbers out of some thousand from a particular
column only. Can somebody please help me to give a hint for the code.

Thanks a Lot !!!

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
Selecting last five numbers in a selection Scott Excel Discussion (Misc queries) 5 May 27th 09 05:13 PM
Selecting specific numbers from a cell containing multiple numbers JRD Excel Worksheet Functions 3 January 18th 09 12:32 AM
selecting the two lowest numbers Muz Excel Discussion (Misc queries) 3 July 29th 08 01:49 AM
Selecting columns with column numbers not letters Chrisso Excel Programming 4 August 3rd 07 12:32 PM
selecting checkbox numbers Paula Excel Programming 1 May 16th 06 03:06 AM


All times are GMT +1. The time now is 11:23 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"