bottom 20

jamesd

Board Regular
Joined
Sep 22, 2003
Messages
220
I have a list of which i need to find the top 20 and the bottom 20.
The list varies in length time I run the qry that makes the list.
Alson there maybe more than one of each number.
The top 20 is easy as I just put <21. But how do I get the Botttom 20
Regards
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.

birdman

Board Regular
Joined
Oct 11, 2005
Messages
187
you can use the sort function. if you sort the column from greatest to least, the first 20 values will be the bottom 20. HTH
 

jamesd

Board Regular
Joined
Sep 22, 2003
Messages
220
BOTTOM 20

This will not work as the list will contain more than one of each number.
What I need is the bottom 20 values not just the bottom 20 entries.
So like the top 20 there will be more than 20 entries.
 

Norie

Well-known Member
Joined
Apr 28, 2004
Messages
76,351
Office Version
  1. 365
Platform
  1. Windows
James

Have you tried birdman's suggestion?

I just did where there where multiple records shared a value that was in the bottom 20. More than 20 records were returned.
 

Forum statistics

Threads
1,171,790
Messages
5,877,514
Members
433,264
Latest member
Donnybrook

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top