Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Get Top X,Middle Y,Bottom Z percent Records

Hi,
can anyone has answer for the following scenario.

How will I get Top 20(say for example 20), middle 20, bottom 20
records in an excel sheet supposing there are 60 records.
Any idea for generalized one? (i.e) If I specify top x % records then
it should return the top x % records and as the same way
if I specify bottom y % then it should return the bottom y % of the
total records.

Thanks in Advance,
Bala

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,163
Default Get Top X,Middle Y,Bottom Z percent Records

The PERCENTRANK worksheet function will rank them for you by percent. I am
not sure what you want to do when you select them (copy them somewhere?) but
you can use the results of this function to easily find the records in any
percent range.
--
- K Dales


"Bala" wrote:

Hi,
can anyone has answer for the following scenario.

How will I get Top 20(say for example 20), middle 20, bottom 20
records in an excel sheet supposing there are 60 records.
Any idea for generalized one? (i.e) If I specify top x % records then
it should return the top x % records and as the same way
if I specify bottom y % then it should return the bottom y % of the
total records.

Thanks in Advance,
Bala


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Get Top X,Middle Y,Bottom Z percent Records

Look at Data=Autofilter

otherwise, you would probably need to use a dummy column containing a
formula to specify which group that row goes in - then use the autofilter no
that column or sort.

Of course a macro is always an option as well.
--
Regards,
Tom Ogilvy


"Bala" wrote:

Hi,
can anyone has answer for the following scenario.

How will I get Top 20(say for example 20), middle 20, bottom 20
records in an excel sheet supposing there are 60 records.
Any idea for generalized one? (i.e) If I specify top x % records then
it should return the top x % records and as the same way
if I specify bottom y % then it should return the bottom y % of the
total records.

Thanks in Advance,
Bala


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
Returning Bottom 10 Percent in another spreadsheet Brandon Excel Worksheet Functions 4 February 13th 09 01:32 AM
Returning Bottom 10 Percent in another spreadsheet Brandon Excel Worksheet Functions 1 February 13th 09 12:04 AM
Conditional Formatting Bottom 'n' percent [email protected] Excel Discussion (Misc queries) 5 March 6th 08 06:05 PM
Need Percent of Records LMB New Users to Excel 8 April 30th 05 05:40 PM
Z Chart i.e. top rolling annual bottom rolling monthly middle cum. wat prin Excel Worksheet Functions 0 January 28th 05 03:43 PM


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